Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesFanCVF.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.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001394, allocations: 114.2 kB / 16.42 MB, free: 6.012 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.001389/0.001389, allocations: 183.8 kB / 17.35 MB, free: 5.629 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.393/1.393, 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 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves): time 0.008398/1.03, allocations: 3.992 MB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006416/1.037, allocations: 2.492 MB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/1.038, allocations: 27.88 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009655/1.039, allocations: 177.9 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/1.041, allocations: 206 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/1.043, allocations: 0.7383 MB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003103/1.046, allocations: 1.658 MB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/1.048, allocations: 0.7973 MB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/1.05, allocations: 0.6111 MB / 1.178 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.051, allocations: 0.6493 MB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006462/1.052, allocations: 184 kB / 1.179 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/1.052, allocations: 196 kB / 1.179 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006193/1.053, allocations: 350.9 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.054, allocations: 0.6802 MB / 1.18 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/1.058, allocations: 2.178 MB / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.058, allocations: 0 / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/1.058, allocations: 0 / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.011e-05/1.058, allocations: 0 / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.006014/1.064, allocations: 1.657 MB / 1.184 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.064, allocations: 8.922 kB / 1.184 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005455/1.064, allocations: 155.1 kB / 1.184 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/1.068, allocations: 0.9425 MB / 1.185 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/1.068, allocations: 90.55 kB / 1.185 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/1.068, allocations: 132.3 kB / 1.185 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/1.072, allocations: 1.098 MB / 1.186 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/1.072, allocations: 7.875 kB / 1.186 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/1.072, allocations: 47.98 kB / 1.186 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/1.072, allocations: 27.94 kB / 1.186 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/1.075, allocations: 0.8087 MB / 1.187 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005547/1.08, allocations: 3.122 MB / 1.19 GB, free: 12.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/1.082, allocations: 0.9979 MB / 1.191 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/1.083, allocations: 415.3 kB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/1.083, allocations: 8.656 kB / 1.191 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/1.084, allocations: 0.6032 MB / 1.192 GB, free: 10.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=99): time 4.548e-06/1.084, allocations: 0 / 1.192 GB, free: 10.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=99): time 0.002791/1.087, allocations: 1.171 MB / 1.193 GB, free: 9.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.087, allocations: 64.41 kB / 1.193 GB, free: 9.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/1.088, allocations: 0.6688 MB / 1.194 GB, free: 8.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.088, allocations: 69.69 kB / 1.194 GB, free: 8.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/1.089, allocations: 0.5076 MB / 1.194 GB, free: 7.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.089, allocations: 288.1 kB / 1.194 GB, free: 7.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/1.089, allocations: 242.8 kB / 1.195 GB, free: 7.457 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.09, allocations: 410.7 kB / 1.195 GB, free: 7.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/1.091, allocations: 381.9 kB / 1.195 GB, free: 6.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.092, allocations: 0.6067 MB / 1.196 GB, free: 5.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.094, allocations: 0.9068 MB / 1.197 GB, free: 4.953 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/1.094, allocations: 3.938 kB / 1.197 GB, free: 4.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002485/1.096, allocations: 1.179 MB / 1.198 GB, free: 3.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/1.096, allocations: 65.91 kB / 1.198 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.096, allocations: 8 kB / 1.198 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/1.096, allocations: 12 kB / 1.198 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/1.097, allocations: 187.6 kB / 1.198 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/1.097, allocations: 15.94 kB / 1.198 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/1.098, allocations: 171 kB / 1.199 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.098, allocations: 51.92 kB / 1.199 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/1.099, allocations: 0.561 MB / 1.199 GB, free: 2.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00121/1.101, allocations: 0.6067 MB / 1.2 GB, free: 1.969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001974/1.103, allocations: 0.8912 MB / 1.201 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.548e-05/1.103, allocations: 0 / 1.201 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002605/1.105, allocations: 1.16 MB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/1.105, allocations: 67.39 kB / 1.202 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.105, allocations: 4 kB / 1.202 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.105, allocations: 16 kB / 1.202 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/1.106, allocations: 179.6 kB / 1.202 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.217e-05/1.106, allocations: 20.03 kB / 1.202 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009505/1.107, allocations: 147.2 kB / 1.202 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.107, allocations: 51.98 kB / 1.202 GB, free: 15.3 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.damValFan1.lat.y,$PRE.damValFan1.lat1.y,booPul.y,$PRE.booPul.y,$whenCondition17,$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.unOcc.y,reaToInt1.y,reaToInt2.y,damValFan1.or1.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.falEdg.not_u,$PRE.damValFan1.falEdg.not_u,damValFan1.lat1.y,damValFan1.lat1.clr,$PRE.damValFan1.lat1.clr,damValFan1.lat1.u,$PRE.damValFan1.lat1.u,damValFan1.tim.passed,$PRE.damValFan1.tim.passed,damValFan1.edg.u,$PRE.damValFan1.edg.u,damValFan1.isOcc.y,damValFan1.cloDam.lesHys.y,$PRE.damValFan1.cloDam.lesHys.y,damValFan1.lat.y,damValFan1.lat.clr,$PRE.damValFan1.lat.clr,damValFan1.lat.u,$PRE.damValFan1.lat.u,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,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition16,damValFan1.conDam.cheYMinMax.y,damValFan1.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 138 * 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.0004355/1.108, allocations: 288 kB / 1.202 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/1.108, allocations: 94.78 kB / 1.203 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.11, allocations: 0.9489 MB / 1.203 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.11, allocations: 3.984 kB / 1.203 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.11, allocations: 0 / 1.203 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/1.111, allocations: 171.8 kB / 1.204 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.111, allocations: 31.94 kB / 1.204 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/1.111, allocations: 55.94 kB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.112, allocations: 128.8 kB / 1.204 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002502/1.114, allocations: 0.9895 MB / 1.205 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00319/1.117, allocations: 1.508 MB / 1.206 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009151/1.118, allocations: 459.8 kB / 1.207 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006424/1.119, allocations: 446.9 kB / 1.207 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of Backend: time 2.585e-06/1.119, allocations: 0 / 1.207 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.122, allocations: 1.538 MB / 1.209 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003516/1.126, allocations: 2.086 MB / 1.211 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.03382/1.16, allocations: 16.73 MB / 1.227 GB, free: 5.848 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches