Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001916/0.001916, allocations: 114.8 kB / 16.81 MB, free: 5.777 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.001839/0.001839, allocations: 199.1 kB / 17.77 MB, free: 5.129 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.563/1.563, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.962/2.962, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 72.11 kB / 1.097 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3942, allocations: 168.7 MB / 1.262 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers): time 0.006075/0.4003, allocations: 3.458 MB / 1.265 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.4046, allocations: 2.211 MB / 1.268 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.4055, allocations: 19.94 kB / 1.268 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.406, allocations: 162.2 kB / 1.268 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.4065, allocations: 154.6 kB / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.4081, allocations: 0.6447 MB / 1.269 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.4097, allocations: 1.325 MB / 1.27 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009664/0.4107, allocations: 478.5 kB / 1.27 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.4114, allocations: 498.2 kB / 1.271 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.412, allocations: 0.4977 MB / 1.271 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.4122, allocations: 144 kB / 1.271 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.4125, allocations: 160 kB / 1.272 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.4127, allocations: 279.1 kB / 1.272 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.4133, allocations: 0.5519 MB / 1.272 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.4154, allocations: 1.774 MB / 1.274 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4155, allocations: 3.938 kB / 1.274 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4155, allocations: 0 / 1.274 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.4155, allocations: 4 kB / 1.274 GB, free: 0.6758 MB / 0.9825 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.002894/0.4184, allocations: 1.409 MB / 1.276 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4184, allocations: 12.03 kB / 1.276 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.4186, allocations: 128.2 kB / 1.276 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.4204, allocations: 0.767 MB / 1.276 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.4205, allocations: 78.38 kB / 1.276 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.4207, allocations: 96.33 kB / 1.277 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.4224, allocations: 0.8772 MB / 1.277 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.4224, allocations: 7.922 kB / 1.277 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.4225, allocations: 40 kB / 1.277 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.4225, allocations: 20 kB / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.4239, allocations: 0.609 MB / 1.278 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.4285, allocations: 2.737 MB / 1.281 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.4297, allocations: 0.6605 MB / 1.281 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.4302, allocations: 223.4 kB / 1.282 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.4303, allocations: 8.438 kB / 1.282 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006887/0.431, allocations: 295.3 kB / 1.282 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=59): time 2.836e-06/0.431, allocations: 0 / 1.282 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59): time 0.001636/0.4326, allocations: 0.6468 MB / 1.283 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.4327, allocations: 63.84 kB / 1.283 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.4334, allocations: 0.5742 MB / 1.283 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.4335, allocations: 45.7 kB / 1.283 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.434, allocations: 484.2 kB / 1.284 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.4342, allocations: 190.4 kB / 1.284 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.4344, allocations: 174.5 kB / 1.284 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.4347, allocations: 386.8 kB / 1.284 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.4353, allocations: 236.7 kB / 1.285 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.4361, allocations: 472.1 kB / 1.285 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4374, allocations: 0.6922 MB / 1.286 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4374, allocations: 4 kB / 1.286 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001889/0.4393, allocations: 0.8534 MB / 1.287 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.4393, allocations: 63.41 kB / 1.287 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.4394, allocations: 11.98 kB / 1.287 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.4394, allocations: 12 kB / 1.287 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.4399, allocations: 135.7 kB / 1.287 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.44, allocations: 23.86 kB / 1.287 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000751/0.4407, allocations: 131.6 kB / 1.287 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.4408, allocations: 43.98 kB / 1.287 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008416/0.4416, allocations: 406 kB / 1.287 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000749/0.4424, allocations: 459.5 kB / 1.288 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/0.4435, allocations: 0.6765 MB / 1.288 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.294e-06/0.4435, allocations: 4 kB / 1.288 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001705/0.4452, allocations: 0.8299 MB / 1.289 GB, free: 380 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.4453, allocations: 75.33 kB / 1.289 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4453, allocations: 8 kB / 1.289 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4453, allocations: 12 kB / 1.289 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.4458, allocations: 131.8 kB / 1.289 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.4458, allocations: 15.92 kB / 1.289 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.4465, allocations: 119.8 kB / 1.29 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.4466, allocations: 44.06 kB / 1.29 GB, free: 15.96 MB / 1.014 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.0003011/0.4469, allocations: 238.3 kB / 1.29 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.447, allocations: 75.53 kB / 1.29 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4482, allocations: 0.5334 MB / 1.29 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4482, allocations: 0 / 1.29 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4482, allocations: 3.938 kB / 1.29 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.4484, allocations: 152.5 kB / 1.291 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.4484, allocations: 12 kB / 1.291 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.4487, allocations: 23.97 kB / 1.291 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4488, allocations: 56.48 kB / 1.291 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001286/0.4501, allocations: 0.5845 MB / 1.291 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001617/0.4517, allocations: 0.9196 MB / 1.292 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004481/0.4522, allocations: 212.3 kB / 1.292 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005007/0.4527, allocations: 387.1 kB / 1.293 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Backend: time 4e-07/0.4527, allocations: 0 / 1.293 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002517/0.4552, allocations: 1.02 MB / 1.294 GB, free: 11.66 MB / 1.014 GB Notification: Performance of SimCode: time 0.003203/0.4584, allocations: 1.792 MB / 1.295 GB, free: 9.82 MB / 1.014 GB Notification: Performance of Templates: time 0.02586/0.4843, allocations: 11.38 MB / 1.307 GB, free: 14.56 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches