Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.00115/0.00115, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.343/1.343, 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.528/2.528, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8487, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers): time 0.005118/0.8539, allocations: 3.456 MB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.8581, allocations: 2.218 MB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008653/0.859, allocations: 23.94 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.8595, allocations: 154.3 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.86, allocations: 146.5 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.8613, allocations: 0.6197 MB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.8627, allocations: 1.337 MB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.8636, allocations: 0.6468 MB / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.8641, allocations: 490.2 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.8646, allocations: 0.5092 MB / 1.218 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.8648, allocations: 148 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.865, allocations: 152 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.8653, allocations: 271.1 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.8657, allocations: 0.5519 MB / 1.219 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.8672, allocations: 1.777 MB / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8672, allocations: 0 / 1.221 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8672, allocations: 3.938 kB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.8673, allocations: 4 kB / 1.221 GB, free: 1.098 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002422/0.8697, allocations: 1.379 MB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8697, allocations: 8.031 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.8699, allocations: 119.5 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.8714, allocations: 0.7742 MB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.8715, allocations: 70.38 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.8717, allocations: 100.4 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.8732, allocations: 0.8654 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.8732, allocations: 3.938 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.8733, allocations: 43.98 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.8733, allocations: 24 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.8746, allocations: 0.6129 MB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.8785, allocations: 2.724 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.8797, allocations: 0.6882 MB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.8802, allocations: 246.1 kB / 1.228 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.8803, allocations: 16.41 kB / 1.228 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/0.8809, allocations: 286.9 kB / 1.228 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=59): time 2.876e-06/0.8809, allocations: 4 kB / 1.228 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59): time 0.001455/0.8824, allocations: 0.6387 MB / 1.229 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8824, allocations: 63.91 kB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.883, allocations: 0.5741 MB / 1.23 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.8831, allocations: 45.7 kB / 1.23 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.8834, allocations: 471 kB / 1.23 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.8836, allocations: 185.4 kB / 1.23 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.8838, allocations: 174.5 kB / 1.23 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.884, allocations: 382.8 kB / 1.231 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.8845, allocations: 240.7 kB / 1.231 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.8852, allocations: 467.5 kB / 1.232 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.8863, allocations: 0.6922 MB / 1.232 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.8863, allocations: 0 / 1.232 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001567/0.8879, allocations: 0.8493 MB / 1.233 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.888, allocations: 67.41 kB / 1.233 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.888, allocations: 8.094 kB / 1.233 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.8881, allocations: 12 kB / 1.233 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.8886, allocations: 139.7 kB / 1.233 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.8886, allocations: 23.86 kB / 1.233 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.8893, allocations: 131.1 kB / 1.233 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.8894, allocations: 43.98 kB / 1.233 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007648/0.8901, allocations: 406 kB / 1.234 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006198/0.8908, allocations: 455.5 kB / 1.234 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001002/0.8918, allocations: 0.6727 MB / 1.235 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.8918, allocations: 4 kB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001444/0.8932, allocations: 0.8297 MB / 1.236 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.8933, allocations: 71.39 kB / 1.236 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8933, allocations: 12.09 kB / 1.236 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.8933, allocations: 8 kB / 1.236 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.8938, allocations: 131.8 kB / 1.236 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.8939, allocations: 15.98 kB / 1.236 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.8945, allocations: 111.4 kB / 1.236 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.8946, allocations: 47.98 kB / 1.236 GB, free: 440 kB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 24 ($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.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.or2.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition5,$whenCondition6,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 (93): * Single equations (assignments): 91 * 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.0002198/0.8948, allocations: 238.2 kB / 1.236 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8949, allocations: 71.06 kB / 1.236 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.8961, allocations: 0.5334 MB / 1.237 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.8961, allocations: 3.984 kB / 1.237 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8962, allocations: 7.875 kB / 1.237 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.8963, allocations: 144.1 kB / 1.237 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.8964, allocations: 20 kB / 1.237 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.8967, allocations: 27.97 kB / 1.237 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.8968, allocations: 52.48 kB / 1.237 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001268/0.8981, allocations: 0.5806 MB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001537/0.8996, allocations: 0.923 MB / 1.239 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004274/0.9, allocations: 232.4 kB / 1.239 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004132/0.9005, allocations: 375.1 kB / 1.239 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of Backend: time 6.82e-07/0.9005, allocations: 0 / 1.239 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.9027, allocations: 1.122 MB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002615/0.9053, allocations: 1.766 MB / 1.242 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.0203/0.9256, allocations: 11.12 MB / 1.253 GB, free: 15.21 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches