Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.VOAMin_flow|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.VOAMin_flow|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.6 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 185.7 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves): time 0.006282/1.066, allocations: 4.339 MB / 1.172 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005402/1.071, allocations: 2.605 MB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/1.073, allocations: 31.88 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008829/1.073, allocations: 197.7 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/1.075, allocations: 213.9 kB / 1.175 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/1.077, allocations: 0.7984 MB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003118/1.08, allocations: 1.822 MB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/1.081, allocations: 0.8935 MB / 1.178 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/1.082, allocations: 0.6734 MB / 1.179 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/1.083, allocations: 0.7154 MB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/1.083, allocations: 204 kB / 1.18 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/1.084, allocations: 216 kB / 1.18 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/1.084, allocations: 390.8 kB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/1.085, allocations: 0.754 MB / 1.181 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/1.087, allocations: 2.415 MB / 1.183 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.087, allocations: 0 / 1.183 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/1.087, allocations: 0 / 1.183 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.087, allocations: 0 / 1.183 GB, free: 3.652 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003312/1.09, allocations: 1.781 MB / 1.185 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.09, allocations: 8.922 kB / 1.185 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/1.091, allocations: 171 kB / 1.185 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/1.093, allocations: 1.009 MB / 1.186 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/1.093, allocations: 102.9 kB / 1.186 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/1.093, allocations: 148.1 kB / 1.186 GB, free: 328 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/1.095, allocations: 1.256 MB / 1.188 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.095, allocations: 0 / 1.188 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.096, allocations: 55.98 kB / 1.188 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/1.096, allocations: 31.94 kB / 1.188 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/1.098, allocations: 0.9271 MB / 1.189 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005318/1.103, allocations: 3.484 MB / 1.192 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/1.105, allocations: 1.081 MB / 1.193 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/1.106, allocations: 446.1 kB / 1.193 GB, free: 8.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/1.106, allocations: 13.06 kB / 1.193 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/1.107, allocations: 0.6457 MB / 1.194 GB, free: 8.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=109): time 3.767e-06/1.107, allocations: 4 kB / 1.194 GB, free: 8.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=109): time 0.002888/1.11, allocations: 1.245 MB / 1.195 GB, free: 6.961 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.11, allocations: 72.39 kB / 1.195 GB, free: 6.875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.111, allocations: 0.7114 MB / 1.196 GB, free: 6.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/1.111, allocations: 65.7 kB / 1.196 GB, free: 6.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/1.112, allocations: 0.5737 MB / 1.197 GB, free: 5.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/1.112, allocations: 319.6 kB / 1.197 GB, free: 5.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/1.112, allocations: 266.7 kB / 1.197 GB, free: 4.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.113, allocations: 349.9 kB / 1.198 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/1.114, allocations: 413.9 kB / 1.198 GB, free: 4.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/1.115, allocations: 0.6821 MB / 1.199 GB, free: 3.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.117, allocations: 1.005 MB / 1.2 GB, free: 2.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/1.117, allocations: 0 / 1.2 GB, free: 2.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002668/1.119, allocations: 1.277 MB / 1.201 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/1.119, allocations: 71.39 kB / 1.201 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.119, allocations: 12 kB / 1.201 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.119, allocations: 16 kB / 1.201 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/1.12, allocations: 211.6 kB / 1.201 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/1.12, allocations: 15.94 kB / 1.201 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/1.121, allocations: 190.7 kB / 1.201 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.121, allocations: 63.92 kB / 1.201 GB, free: 360 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/1.123, allocations: 0.5963 MB / 1.202 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/1.124, allocations: 0.6664 MB / 1.203 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/1.125, allocations: 0.9975 MB / 1.204 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/1.125, allocations: 4 kB / 1.204 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160) (initialization_lambda0): time 0.002407/1.128, allocations: 1.253 MB / 1.205 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/1.128, allocations: 67.39 kB / 1.205 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.128, allocations: 8 kB / 1.205 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.128, allocations: 16 kB / 1.205 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/1.129, allocations: 215.8 kB / 1.205 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/1.129, allocations: 16 kB / 1.205 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/1.13, allocations: 155.1 kB / 1.205 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/1.13, allocations: 55.98 kB / 1.205 GB, free: 12.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.damValFan1.lat1.y,$PRE.damValFan1.lat.y,booPul.y,$PRE.booPul.y,$whenCondition16,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,terFan.y,$PRE.terFan.y,damValFan1.tim.entryTime,$PRE.damValFan1.tim.entryTime,$whenCondition15,$whenCondition14,$whenCondition13,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.occ.y,damValFan1.uno.y,reaToInt1.y,reaToInt2.y,damValFan1.or1.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.lat.y,damValFan1.lat.clr,$PRE.damValFan1.lat.clr,damValFan1.lat.u,$PRE.damValFan1.lat.u,damValFan1.lat1.y,damValFan1.lat1.clr,$PRE.damValFan1.lat1.clr,damValFan1.lat1.u,$PRE.damValFan1.lat1.u,damValFan1.falEdg.not_u,$PRE.damValFan1.falEdg.not_u,damValFan1.edg.u,$PRE.damValFan1.edg.u,damValFan1.isOcc.y,damValFan1.tim.passed,$PRE.damValFan1.tim.passed,damValFan1.cloDam.lesHys.y,$PRE.damValFan1.cloDam.lesHys.y,damValFan1.not1.y,damValFan1.isUno.y,damValFan1.greThr2.greHys.y,$PRE.damValFan1.greThr2.greHys.y,damValFan1.greThr.greHys.y,$PRE.damValFan1.greThr.greHys.y,damValFan1.greThr1.greHys.y,$PRE.damValFan1.greThr1.greHys.y,damValFan1.and4.y,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition17,damValFan1.conVal.cheYMinMax.y,damValFan1.conDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003604/1.13, allocations: 302.1 kB / 1.206 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/1.13, allocations: 98.78 kB / 1.206 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/1.133, allocations: 1.027 MB / 1.207 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.133, allocations: 7.969 kB / 1.207 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.133, allocations: 0 / 1.207 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/1.133, allocations: 175.6 kB / 1.207 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.133, allocations: 35.98 kB / 1.207 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/1.134, allocations: 55.94 kB / 1.207 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/1.134, allocations: 140.8 kB / 1.207 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002409/1.136, allocations: 1.06 MB / 1.208 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00306/1.139, allocations: 1.629 MB / 1.21 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009259/1.14, allocations: 491.8 kB / 1.21 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005828/1.141, allocations: 463.1 kB / 1.211 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of Backend: time 4.61e-07/1.141, allocations: 0 / 1.211 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003589/1.144, allocations: 1.651 MB / 1.212 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003187/1.148, allocations: 2.242 MB / 1.214 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.03184/1.179, allocations: 17.76 MB / 1.232 GB, free: 0.9336 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches