Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001459/0.001459, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.448/1.448, 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 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8736, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers): time 0.005267/0.8789, allocations: 3.529 MB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.883, allocations: 2.222 MB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.8843, allocations: 23.94 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.885, allocations: 162.2 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007763/0.8858, allocations: 134.6 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.8875, allocations: 0.6295 MB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.8892, allocations: 1.318 MB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.8903, allocations: 0.6349 MB / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.891, allocations: 474.2 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.8916, allocations: 497.6 kB / 1.218 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.8918, allocations: 140 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.892, allocations: 152 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.8922, allocations: 263.1 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.8927, allocations: 0.5285 MB / 1.219 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.8944, allocations: 1.707 MB / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8944, allocations: 0 / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8944, allocations: 0 / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.8945, allocations: 0 / 1.221 GB, free: 1.359 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002393/0.8969, allocations: 1.34 MB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8969, allocations: 12.03 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.8971, allocations: 119.5 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.8985, allocations: 0.7508 MB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.8986, allocations: 74.38 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.8987, allocations: 92.38 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.9001, allocations: 0.842 MB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9002, allocations: 7.938 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.9003, allocations: 40 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.9003, allocations: 20 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.9015, allocations: 0.5935 MB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.9057, allocations: 2.673 MB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.9069, allocations: 0.5743 MB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.9073, allocations: 223 kB / 1.228 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.9074, allocations: 16.42 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.9079, allocations: 278.8 kB / 1.228 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=56): time 3.176e-06/0.908, allocations: 0 / 1.228 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56): time 0.001389/0.9093, allocations: 0.5997 MB / 1.229 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.9094, allocations: 59.97 kB / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.9101, allocations: 0.5419 MB / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.9102, allocations: 41.7 kB / 1.229 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.9106, allocations: 474.9 kB / 1.23 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.9108, allocations: 173.5 kB / 1.23 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.911, allocations: 174.5 kB / 1.23 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9112, allocations: 378.7 kB / 1.23 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.9117, allocations: 224.7 kB / 1.231 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.9124, allocations: 468.4 kB / 1.231 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.9136, allocations: 0.6691 MB / 1.232 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.9136, allocations: 9.312 kB / 1.232 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001722/0.9153, allocations: 0.8135 MB / 1.232 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.9154, allocations: 71.39 kB / 1.233 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.9154, allocations: 8.719 kB / 1.233 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.487e-05/0.9155, allocations: 12 kB / 1.233 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.916, allocations: 131.8 kB / 1.233 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.916, allocations: 15.98 kB / 1.233 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.9168, allocations: 123.1 kB / 1.233 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.9168, allocations: 43.98 kB / 1.233 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008767/0.9177, allocations: 398 kB / 1.233 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007456/0.9185, allocations: 448.4 kB / 1.234 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001094/0.9196, allocations: 0.6613 MB / 1.234 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.9196, allocations: 3.938 kB / 1.234 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001494/0.9211, allocations: 0.7978 MB / 1.235 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.9212, allocations: 67.41 kB / 1.235 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9212, allocations: 8.812 kB / 1.235 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.9212, allocations: 12 kB / 1.235 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.9216, allocations: 135.8 kB / 1.235 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.9217, allocations: 19.92 kB / 1.235 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.9223, allocations: 107.4 kB / 1.235 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.9223, allocations: 36 kB / 1.235 GB, free: 1.25 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.or1.y,dam1.and1.y,dam1.not1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition5,dam1.conHeaDam.cheYMinMax.y,dam1.conCooDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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.0002569/0.9226, allocations: 249.7 kB / 1.236 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.9227, allocations: 67.16 kB / 1.236 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.9238, allocations: 0.502 MB / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.9238, allocations: 0 / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.9238, allocations: 0 / 1.236 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.924, allocations: 144.1 kB / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.924, allocations: 19.94 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.9243, allocations: 23.97 kB / 1.236 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9244, allocations: 48.5 kB / 1.236 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.9256, allocations: 0.5457 MB / 1.237 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001453/0.9271, allocations: 0.8607 MB / 1.238 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003711/0.9275, allocations: 220.3 kB / 1.238 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003984/0.9279, allocations: 358.9 kB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of Backend: time 7.51e-07/0.9279, allocations: 0 / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.9302, allocations: 1.094 MB / 1.239 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002463/0.9327, allocations: 1.721 MB / 1.241 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.01905/0.9518, allocations: 10.59 MB / 1.252 GB, free: 0.7969 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches