Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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 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.ParallelFanVVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_flow|damValFan1.VPri_flow_Set|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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_flow|damValFan1.VPri_flow_Set|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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 110.7 kB / 16.42 MB, free: 6.457 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.001227/0.001227, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9913/0.9926, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves): time 0.007059/0.9997, allocations: 4.521 MB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004745/1.005, allocations: 2.561 MB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/1.006, allocations: 35.88 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007847/1.007, allocations: 209.6 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009948/1.008, allocations: 206 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/1.009, allocations: 0.7177 MB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002215/1.012, allocations: 1.763 MB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/1.013, allocations: 0.9686 MB / 1.232 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008626/1.014, allocations: 0.646 MB / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/1.015, allocations: 0.6958 MB / 1.233 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/1.015, allocations: 200 kB / 1.233 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/1.015, allocations: 204 kB / 1.233 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/1.015, allocations: 386.7 kB / 1.234 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/1.016, allocations: 0.75 MB / 1.234 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/1.018, allocations: 2.43 MB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.018, allocations: 3.984 kB / 1.237 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.054e-06/1.018, allocations: 4 kB / 1.237 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.44e-05/1.018, allocations: 0 / 1.237 GB, free: 1.98 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004275/1.022, allocations: 1.766 MB / 1.239 GB, free: 152 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/1.022, allocations: 12.62 kB / 1.239 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/1.023, allocations: 163.1 kB / 1.239 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/1.026, allocations: 1.024 MB / 1.24 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/1.026, allocations: 107 kB / 1.24 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/1.026, allocations: 132.4 kB / 1.24 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/1.028, allocations: 1.258 MB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/1.029, allocations: 3.938 kB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.029, allocations: 59.92 kB / 1.241 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/1.029, allocations: 32 kB / 1.241 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/1.031, allocations: 0.9354 MB / 1.242 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005402/1.036, allocations: 3.576 MB / 1.246 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.038, allocations: 1.002 MB / 1.247 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/1.039, allocations: 410.7 kB / 1.247 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/1.039, allocations: 17.05 kB / 1.247 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.04, allocations: 472.9 kB / 1.248 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/1.04, allocations: 0 / 1.248 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=96): time 0.002549/1.042, allocations: 1.065 MB / 1.249 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.043, allocations: 60.41 kB / 1.249 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/1.043, allocations: 0.7323 MB / 1.249 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/1.044, allocations: 53.7 kB / 1.249 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/1.044, allocations: 0.6083 MB / 1.25 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/1.044, allocations: 291.8 kB / 1.25 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/1.045, allocations: 226.8 kB / 1.25 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.045, allocations: 345.9 kB / 1.251 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008426/1.046, allocations: 349.9 kB / 1.251 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.047, allocations: 0.5936 MB / 1.252 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.048, allocations: 0.8951 MB / 1.253 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.048, allocations: 4 kB / 1.253 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002067/1.05, allocations: 1.096 MB / 1.254 GB, free: 160 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/1.051, allocations: 39.27 kB / 1.254 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.051, allocations: 11.98 kB / 1.254 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.051, allocations: 12 kB / 1.254 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/1.051, allocations: 203.6 kB / 1.254 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.051, allocations: 23.92 kB / 1.254 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/1.052, allocations: 151.1 kB / 1.254 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/1.052, allocations: 55.86 kB / 1.254 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/1.053, allocations: 0.5338 MB / 1.255 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009292/1.054, allocations: 0.582 MB / 1.255 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/1.056, allocations: 0.8755 MB / 1.256 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.621e-06/1.056, allocations: 4 kB / 1.256 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002032/1.058, allocations: 1.08 MB / 1.257 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/1.058, allocations: 41.69 kB / 1.257 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.058, allocations: 8 kB / 1.257 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.058, allocations: 12 kB / 1.257 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.059, allocations: 203.9 kB / 1.257 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/1.059, allocations: 19.88 kB / 1.257 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/1.06, allocations: 135.1 kB / 1.258 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/1.06, allocations: 47.98 kB / 1.258 GB, free: 11.9 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 42 (booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition1,$whenCondition2,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.uno.y,damValFan1.occ.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or3.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.greThr3.greHys.y,$PRE.damValFan1.greThr3.greHys.y,damValFan1.isUno.y,damValFan1.gre2.greHys.y,$PRE.damValFan1.gre2.greHys.y,damValFan1.not1.y,damValFan1.gre1.greHys.y,$PRE.damValFan1.gre1.greHys.y,damValFan1.and1.y,damValFan1.isOcc.y,damValFan1.lat.y,damValFan1.gre.greHys.y,$PRE.damValFan1.gre.greHys.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,$whenCondition3,$whenCondition4,$whenCondition6,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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 1 * 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.0003336/1.06, allocations: 268.6 kB / 1.258 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.06, allocations: 94.78 kB / 1.258 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.062, allocations: 0.8753 MB / 1.259 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.062, allocations: 11.86 kB / 1.259 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.062, allocations: 0 / 1.259 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/1.062, allocations: 179.6 kB / 1.259 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.062, allocations: 28 kB / 1.259 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/1.063, allocations: 55.94 kB / 1.259 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/1.063, allocations: 120.8 kB / 1.259 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002093/1.065, allocations: 0.9076 MB / 1.26 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002591/1.068, allocations: 1.418 MB / 1.261 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007681/1.069, allocations: 415.8 kB / 1.262 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005884/1.069, allocations: 471 kB / 1.262 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of Backend: time 8.22e-07/1.069, allocations: 0 / 1.262 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002975/1.072, allocations: 1.319 MB / 1.264 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003438/1.076, allocations: 2.25 MB / 1.266 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.02809/1.104, allocations: 16.12 MB / 1.282 GB, free: 3.422 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches