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.001582/0.001582, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001758/0.001758, allocations: 183.9 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.62/1.62, 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.779/2.779, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.88 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, 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.SeriesFanVVF.Subsequences.Validation.DamperValves): time 0.006195/1.098, allocations: 4.338 MB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004778/1.103, allocations: 2.585 MB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.104, allocations: 31.88 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008741/1.105, allocations: 197.7 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/1.106, allocations: 210 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.109, allocations: 0.7872 MB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001933/1.11, allocations: 1.787 MB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/1.112, allocations: 0.9054 MB / 1.232 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/1.112, allocations: 0.6616 MB / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/1.113, allocations: 0.7037 MB / 1.233 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/1.113, allocations: 200 kB / 1.233 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/1.114, allocations: 207.9 kB / 1.233 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002815/1.114, allocations: 378.8 kB / 1.234 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006429/1.115, allocations: 0.7501 MB / 1.234 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/1.117, allocations: 2.392 MB / 1.237 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.117, allocations: 0 / 1.237 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.117, allocations: 4 kB / 1.237 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.117, allocations: 0 / 1.237 GB, free: 2.16 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.003336/1.12, allocations: 1.765 MB / 1.238 GB, free: 332 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.12, allocations: 12.03 kB / 1.238 GB, free: 320 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/1.12, allocations: 163.1 kB / 1.239 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/1.123, allocations: 1.001 MB / 1.24 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/1.123, allocations: 102.9 kB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/1.123, allocations: 140.1 kB / 1.24 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/1.125, allocations: 1.237 MB / 1.241 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.125, allocations: 4 kB / 1.241 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.126, allocations: 59.97 kB / 1.241 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.126, allocations: 32 kB / 1.241 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.128, allocations: 0.9272 MB / 1.242 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005292/1.133, allocations: 3.456 MB / 1.245 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/1.135, allocations: 1.053 MB / 1.246 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000909/1.136, allocations: 423.5 kB / 1.247 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/1.136, allocations: 21 kB / 1.247 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/1.137, allocations: 0.5242 MB / 1.247 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=106): time 3.055e-06/1.137, allocations: 3.938 kB / 1.247 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=106): time 0.002789/1.14, allocations: 1.175 MB / 1.248 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.14, allocations: 64.41 kB / 1.249 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/1.141, allocations: 0.7193 MB / 1.249 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.141, allocations: 61.69 kB / 1.249 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/1.141, allocations: 0.5736 MB / 1.25 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/1.142, allocations: 311.6 kB / 1.25 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/1.142, allocations: 258.8 kB / 1.25 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.142, allocations: 349.9 kB / 1.251 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009861/1.143, allocations: 389.9 kB / 1.251 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.144, allocations: 0.6374 MB / 1.252 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/1.146, allocations: 0.9804 MB / 1.253 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.146, allocations: 0 / 1.253 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002551/1.149, allocations: 1.215 MB / 1.254 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/1.149, allocations: 73.42 kB / 1.254 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.149, allocations: 12.03 kB / 1.254 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/1.149, allocations: 12 kB / 1.254 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/1.15, allocations: 211.6 kB / 1.254 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.829e-05/1.15, allocations: 19.92 kB / 1.254 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/1.151, allocations: 174.9 kB / 1.254 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/1.151, allocations: 52.06 kB / 1.254 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001164/1.152, allocations: 0.5728 MB / 1.255 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001196/1.153, allocations: 0.6296 MB / 1.256 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001685/1.155, allocations: 0.9608 MB / 1.257 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/1.155, allocations: 7.938 kB / 1.257 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002417/1.157, allocations: 1.203 MB / 1.258 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.157, allocations: 63.41 kB / 1.258 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.157, allocations: 12.06 kB / 1.258 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.157, allocations: 16 kB / 1.258 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/1.158, allocations: 207.6 kB / 1.258 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.158, allocations: 19.88 kB / 1.258 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/1.159, allocations: 159 kB / 1.258 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/1.159, allocations: 59.97 kB / 1.258 GB, free: 11.22 MB / 0.9825 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.0003455/1.16, allocations: 277.2 kB / 1.258 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.16, allocations: 102.8 kB / 1.259 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/1.162, allocations: 0.961 MB / 1.26 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.162, allocations: 7.984 kB / 1.26 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.162, allocations: 4 kB / 1.26 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.162, allocations: 179.8 kB / 1.26 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.162, allocations: 28 kB / 1.26 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/1.163, allocations: 55.88 kB / 1.26 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.163, allocations: 124.8 kB / 1.26 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002349/1.165, allocations: 1.001 MB / 1.261 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002922/1.168, allocations: 1.535 MB / 1.262 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009644/1.169, allocations: 459.8 kB / 1.263 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006399/1.17, allocations: 455 kB / 1.263 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of Backend: time 5.21e-07/1.17, allocations: 0 / 1.263 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003239/1.173, allocations: 1.563 MB / 1.265 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003283/1.176, allocations: 2.23 MB / 1.267 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of Templates: time 0.02805/1.204, allocations: 16.96 MB / 1.284 GB, free: 1.297 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