Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001187/0.001186, allocations: 119.7 kB / 16.42 MB, free: 6.496 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.001094/0.001094, allocations: 187.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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves): time 0.007413/1.121, allocations: 4.351 MB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005492/1.127, allocations: 2.581 MB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/1.128, allocations: 27.94 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008881/1.129, allocations: 197.7 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/1.131, allocations: 194 kB / 1.216 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/1.133, allocations: 0.7872 MB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002493/1.136, allocations: 1.794 MB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/1.137, allocations: 0.8976 MB / 1.219 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/1.138, allocations: 0.6578 MB / 1.22 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/1.139, allocations: 0.6998 MB / 1.22 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/1.139, allocations: 200 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/1.14, allocations: 219.9 kB / 1.221 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/1.14, allocations: 374.8 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006889/1.141, allocations: 0.7503 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/1.143, allocations: 2.384 MB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.143, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.935e-06/1.143, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.65e-05/1.143, allocations: 0 / 1.224 GB, free: 13.55 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.004333/1.148, allocations: 1.777 MB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.148, allocations: 8.031 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/1.148, allocations: 167 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/1.15, allocations: 1.005 MB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.151, allocations: 102.9 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/1.151, allocations: 144.1 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/1.153, allocations: 1.237 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.153, allocations: 0 / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.154, allocations: 52 kB / 1.229 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.154, allocations: 32 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.156, allocations: 0.9272 MB / 1.23 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/1.162, allocations: 3.46 MB / 1.233 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/1.164, allocations: 1.061 MB / 1.234 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008805/1.165, allocations: 423.5 kB / 1.234 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/1.165, allocations: 13 kB / 1.234 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/1.166, allocations: 0.5282 MB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=106): time 3.957e-06/1.166, allocations: 0 / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106): time 0.003008/1.169, allocations: 1.171 MB / 1.236 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.169, allocations: 68.39 kB / 1.236 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/1.17, allocations: 0.7156 MB / 1.237 GB, free: 352 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/1.17, allocations: 61.7 kB / 1.237 GB, free: 284 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/1.171, allocations: 0.5815 MB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/1.171, allocations: 307.6 kB / 1.238 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/1.172, allocations: 258.7 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.172, allocations: 353.9 kB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/1.173, allocations: 385.9 kB / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.174, allocations: 0.6374 MB / 1.239 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.176, allocations: 0.9726 MB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.176, allocations: 4 kB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002833/1.179, allocations: 1.222 MB / 1.241 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/1.179, allocations: 67.39 kB / 1.241 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.179, allocations: 8 kB / 1.241 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/1.179, allocations: 16 kB / 1.241 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/1.18, allocations: 211.8 kB / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/1.18, allocations: 19.92 kB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.181, allocations: 166.9 kB / 1.242 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.181, allocations: 59.98 kB / 1.242 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001373/1.182, allocations: 0.5728 MB / 1.242 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/1.183, allocations: 0.6257 MB / 1.243 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001804/1.185, allocations: 0.9648 MB / 1.244 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.733e-06/1.185, allocations: 3.938 kB / 1.244 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002666/1.188, allocations: 1.202 MB / 1.245 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/1.188, allocations: 67.39 kB / 1.245 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.188, allocations: 8 kB / 1.245 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.188, allocations: 12 kB / 1.245 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/1.189, allocations: 203.9 kB / 1.245 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.189, allocations: 19.92 kB / 1.246 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009316/1.19, allocations: 155.1 kB / 1.246 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/1.19, allocations: 55.98 kB / 1.246 GB, free: 6.613 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 57 (booPul.y,$PRE.booPul.y,$whenCondition12,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,terFan.y,$PRE.terFan.y,damValFan1.tim.entryTime,$PRE.damValFan1.tim.entryTime,$whenCondition11,$whenCondition10,$whenCondition9,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.occ.y,damValFan1.uno.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or1.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.lat.y,damValFan1.lat1.y,damValFan1.falEdg.not_u,$PRE.damValFan1.falEdg.not_u,damValFan1.falEdg.y,damValFan1.and2.y,damValFan1.edg.y,damValFan1.edg.u,$PRE.damValFan1.edg.u,damValFan1.or3.y,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,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition13,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 (147): * Single equations (assignments): 145 * 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.0003707/1.19, allocations: 289.1 kB / 1.246 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/1.191, allocations: 102.8 kB / 1.246 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/1.193, allocations: 0.9649 MB / 1.247 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.193, allocations: 3.984 kB / 1.247 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.193, allocations: 3.984 kB / 1.247 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.193, allocations: 171.7 kB / 1.247 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.193, allocations: 31.98 kB / 1.247 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/1.193, allocations: 55.83 kB / 1.247 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/1.194, allocations: 124.8 kB / 1.247 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002238/1.196, allocations: 0.9974 MB / 1.248 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002773/1.199, allocations: 1.531 MB / 1.25 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000919/1.2, allocations: 455.8 kB / 1.25 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005871/1.2, allocations: 459.1 kB / 1.251 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of Backend: time 5.21e-07/1.2, allocations: 0 / 1.251 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003301/1.204, allocations: 1.57 MB / 1.252 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003331/1.207, allocations: 2.231 MB / 1.254 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.0277/1.235, allocations: 16.95 MB / 1.271 GB, free: 12.68 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches