Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.002053/0.002053, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.497/2.497, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.084, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.007419/1.092, allocations: 5.953 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00458/1.097, allocations: 2.045 MB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/1.098, allocations: 63.75 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006412/1.099, allocations: 245.2 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009045/1.1, allocations: 313.2 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/1.101, allocations: 0.7686 MB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002462/1.104, allocations: 2.084 MB / 1.179 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/1.105, allocations: 1.029 MB / 1.18 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/1.106, allocations: 0.8326 MB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/1.107, allocations: 0.7616 MB / 1.181 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/1.107, allocations: 216 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/1.108, allocations: 228 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/1.108, allocations: 430.5 kB / 1.182 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007476/1.109, allocations: 0.8587 MB / 1.183 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/1.111, allocations: 2.553 MB / 1.185 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.111, allocations: 0 / 1.185 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.208e-06/1.111, allocations: 3.984 kB / 1.185 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.156e-05/1.111, allocations: 0 / 1.185 GB, free: 1.391 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: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.003866/1.115, allocations: 2.09 MB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.115, allocations: 8.031 kB / 1.187 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/1.116, allocations: 207.7 kB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/1.118, allocations: 1.236 MB / 1.189 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-05/1.118, allocations: 127.1 kB / 1.189 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/1.118, allocations: 152.4 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/1.121, allocations: 1.341 MB / 1.19 GB, free: 12.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/1.121, allocations: 3.938 kB / 1.19 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.121, allocations: 64 kB / 1.19 GB, free: 12 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/1.121, allocations: 40 kB / 1.19 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.123, allocations: 0.9447 MB / 1.191 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007257/1.13, allocations: 4.608 MB / 1.196 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.131, allocations: 0.6817 MB / 1.196 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/1.132, allocations: 324.4 kB / 1.197 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/1.132, allocations: 11.98 kB / 1.197 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/1.133, allocations: 439.7 kB / 1.197 GB, free: 4.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=80): time 2.926e-06/1.133, allocations: 0 / 1.197 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=80): time 0.002003/1.135, allocations: 0.8681 MB / 1.198 GB, free: 3.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/1.135, allocations: 136.5 kB / 1.198 GB, free: 3.715 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.137, allocations: 1.148 MB / 1.199 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.137, allocations: 57.7 kB / 1.199 GB, free: 2.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/1.138, allocations: 0.7824 MB / 1.2 GB, free: 1.699 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.138, allocations: 269.8 kB / 1.2 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/1.138, allocations: 250.8 kB / 1.201 GB, free: 1.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.138, allocations: 353.9 kB / 1.201 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007028/1.139, allocations: 330 kB / 1.201 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009363/1.14, allocations: 0.7211 MB / 1.202 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.142, allocations: 0.9497 MB / 1.203 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.142, allocations: 8 kB / 1.203 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0022/1.144, allocations: 1.189 MB / 1.204 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.144, allocations: 41.81 kB / 1.204 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.144, allocations: 16 kB / 1.204 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.144, allocations: 16 kB / 1.204 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/1.145, allocations: 203.6 kB / 1.204 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/1.145, allocations: 27.88 kB / 1.204 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/1.146, allocations: 182.8 kB / 1.205 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.146, allocations: 55.98 kB / 1.205 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001505/1.148, allocations: 0.5416 MB / 1.205 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/1.149, allocations: 0.7048 MB / 1.206 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001736/1.15, allocations: 0.9175 MB / 1.207 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-05/1.15, allocations: 4 kB / 1.207 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.002754/1.153, allocations: 1.151 MB / 1.208 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/1.153, allocations: 37.7 kB / 1.208 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.153, allocations: 12.12 kB / 1.208 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.153, allocations: 16 kB / 1.208 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.154, allocations: 207.6 kB / 1.208 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.154, allocations: 19.94 kB / 1.208 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/1.155, allocations: 135.3 kB / 1.208 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.155, allocations: 55.94 kB / 1.208 GB, free: 8.621 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition4,$whenCondition5,uSupFan.y,$PRE.uSupFan.y,cooVal.cha.u,$PRE.cooVal.cha.u,cooVal.andOutAirFanFee.y,cooVal.uFanFeeThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.TOutThr.y,$PRE.cooVal.TOutThr.y,cooVal.limPI.trigger,$whenCondition6,uSupFan3.y,cooVal3.cha.u,$PRE.cooVal3.cha.u,cooVal3.uFanFeeThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.TOutThr.y,cooVal3.limPI.trigger,$whenCondition3,uSupFan2.y,cooVal2.cha.u,$PRE.cooVal2.cha.u,cooVal2.uFanFeeThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.TOutThr.y,cooVal2.limPI.trigger,$whenCondition2,uSupFan1.y,cooVal1.cha.u,$PRE.cooVal1.cha.u,cooVal1.uFanFeeThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.TOutThr.y,cooVal1.limPI.trigger,$whenCondition1,cooVal3.limPI.cheYMinMax.y,cooVal2.limPI.cheYMinMax.y,cooVal1.limPI.cheYMinMax.y,cooVal.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * 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.0004082/1.156, allocations: 279.8 kB / 1.209 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/1.156, allocations: 147 kB / 1.209 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.157, allocations: 0.716 MB / 1.209 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.158, allocations: 11.92 kB / 1.209 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.158, allocations: 3.938 kB / 1.209 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/1.158, allocations: 216 kB / 1.21 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.158, allocations: 27.98 kB / 1.21 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/1.159, allocations: 31.97 kB / 1.21 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.159, allocations: 59.91 kB / 1.21 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001752/1.16, allocations: 0.9729 MB / 1.211 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002078/1.163, allocations: 1.396 MB / 1.212 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005827/1.163, allocations: 287.3 kB / 1.212 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001149/1.164, allocations: 0.7329 MB / 1.213 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of Backend: time 3.41e-07/1.164, allocations: 3.938 kB / 1.213 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00326/1.168, allocations: 1.319 MB / 1.214 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004476/1.172, allocations: 2.717 MB / 1.217 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of Templates: time 0.03566/1.208, allocations: 16.89 MB / 1.233 GB, free: 14.85 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches