Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_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.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooValSta.TSup|cooValSta.TSupSet|cooValSta.TOut|cooValSta.uFanFee|cooValSta.uFanSta|percConv.y|cooValSta.yCooVal",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 110.1 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.002164/0.002164, allocations: 186.5 kB / 17.35 MB, free: 5.742 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.494/1.494, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.606/2.606, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.008136/1.034, allocations: 4.749 MB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006889/1.041, allocations: 3.209 MB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/1.042, allocations: 31.81 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/1.043, allocations: 241.9 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/1.046, allocations: 461.2 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/1.049, allocations: 0.9001 MB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002568/1.052, allocations: 1.588 MB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/1.053, allocations: 483.8 kB / 1.179 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/1.054, allocations: 0.6653 MB / 1.179 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02116/1.075, allocations: 3.887 MB / 1.183 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006715/1.076, allocations: 116 kB / 1.183 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/1.077, allocations: 204 kB / 1.183 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/1.077, allocations: 290.9 kB / 1.184 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/1.078, allocations: 0.606 MB / 1.184 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.081, allocations: 1.553 MB / 1.186 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/1.081, allocations: 0 / 1.186 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.294e-06/1.081, allocations: 0 / 1.186 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.569e-05/1.082, allocations: 0 / 1.186 GB, free: 1.793 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.004547/1.086, allocations: 1.771 MB / 1.188 GB, free: 15.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.086, allocations: 8.922 kB / 1.188 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/1.087, allocations: 160 kB / 1.188 GB, free: 15.76 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/1.089, allocations: 0.8836 MB / 1.189 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/1.089, allocations: 69.98 kB / 1.189 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/1.089, allocations: 84 kB / 1.189 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/1.091, allocations: 0.787 MB / 1.189 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.091, allocations: 0 / 1.189 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/1.091, allocations: 35.98 kB / 1.189 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/1.091, allocations: 20 kB / 1.19 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/1.092, allocations: 495.7 kB / 1.19 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/1.097, allocations: 2.268 MB / 1.192 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/1.098, allocations: 0.737 MB / 1.193 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/1.099, allocations: 284.9 kB / 1.193 GB, free: 9.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-05/1.099, allocations: 12.64 kB / 1.193 GB, free: 9.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/1.1, allocations: 474.2 kB / 1.194 GB, free: 9.441 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 4.028e-06/1.1, allocations: 0 / 1.194 GB, free: 9.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.002835/1.103, allocations: 1.021 MB / 1.195 GB, free: 8.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.103, allocations: 278 kB / 1.195 GB, free: 8.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.104, allocations: 0.8909 MB / 1.196 GB, free: 7.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/1.104, allocations: 57.69 kB / 1.196 GB, free: 7.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/1.105, allocations: 497.2 kB / 1.196 GB, free: 6.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/1.105, allocations: 250.1 kB / 1.197 GB, free: 6.363 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/1.106, allocations: 206.6 kB / 1.197 GB, free: 6.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.106, allocations: 341.9 kB / 1.197 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/1.106, allocations: 272.6 kB / 1.197 GB, free: 5.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.107, allocations: 0.5719 MB / 1.198 GB, free: 4.848 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.109, allocations: 0.8241 MB / 1.199 GB, free: 3.918 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.109, allocations: 7.938 kB / 1.199 GB, free: 3.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002201/1.111, allocations: 1.1 MB / 1.2 GB, free: 2.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/1.111, allocations: 130.9 kB / 1.2 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.111, allocations: 8 kB / 1.2 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.111, allocations: 8 kB / 1.2 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/1.112, allocations: 159.7 kB / 1.2 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.762e-05/1.112, allocations: 15.92 kB / 1.2 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/1.113, allocations: 111.4 kB / 1.2 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/1.113, allocations: 47.98 kB / 1.2 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009251/1.114, allocations: 458 kB / 1.201 GB, free: 1.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008909/1.115, allocations: 0.5627 MB / 1.201 GB, free: 1.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/1.116, allocations: 0.832 MB / 1.202 GB, free: 212 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-05/1.116, allocations: 7.984 kB / 1.202 GB, free: 204 kB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002176/1.118, allocations: 1.075 MB / 1.203 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/1.118, allocations: 134.9 kB / 1.203 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.118, allocations: 4 kB / 1.203 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.118, allocations: 12 kB / 1.203 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/1.119, allocations: 151.8 kB / 1.203 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.119, allocations: 19.92 kB / 1.203 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/1.12, allocations: 99.48 kB / 1.203 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/1.12, allocations: 47.98 kB / 1.204 GB, free: 14.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 69 (timSerRes.timeConverted,$PRE.timSerRes.timeConverted,timSerInp.timeConverted,$PRE.timSerInp.timeConverted,csvWriter.str,$PRE.csvWriter.str,$PRE.TOut_F.nextTimeEvent,$whenCondition10,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition9,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition8,$PRE.fanFeedback.nextTimeEvent,$whenCondition7,$PRE.fanStatus.nextTimeEvent,$whenCondition6,$PRE.TSupply_F.nextTimeEvent,$whenCondition5,timSerInp.sampleTrigger,timSerInp.tActivateLast,$PRE.timSerInp.tActivateLast,timSerInp.active,timSerRes.sampleTrigger,timSerRes.tActivateLast,$PRE.timSerRes.tActivateLast,timSerRes.active,correlation.sampleTrigger,correlation.tActivateLast,$PRE.correlation.tActivateLast,correlation.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition12,coolingValveSignal.nextTimeEventScaled,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,greThr.y,cooValSta.cha.u,$PRE.cooValSta.cha.u,cooValSta.andOutAirFanFee.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.TOutThr.y,cooValSta.limPI.trigger,TSupply_F.nextTimeEventScaled,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEvent,fanStatus.nextTimeEventScaled,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEvent,fanFeedback.nextTimeEventScaled,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TOut_F.nextTimeEventScaled,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEvent,$whenCondition11,csvWriter.sampleTrigger,$whenCondition1,plotConfiguration.activate_internal,cooValSta.limPI.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 4 * 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.000424/1.12, allocations: 313.6 kB / 1.204 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.121, allocations: 127.2 kB / 1.204 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.122, allocations: 0.8433 MB / 1.205 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.122, allocations: 7.984 kB / 1.205 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.122, allocations: 0 / 1.205 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/1.123, allocations: 252.1 kB / 1.205 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.123, allocations: 27.98 kB / 1.205 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/1.123, allocations: 39.95 kB / 1.205 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.124, allocations: 72.91 kB / 1.205 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001849/1.125, allocations: 0.9439 MB / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002268/1.128, allocations: 1.339 MB / 1.207 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005796/1.128, allocations: 323.8 kB / 1.208 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009723/1.129, allocations: 0.5837 MB / 1.208 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of Backend: time 4.01e-07/1.129, allocations: 0 / 1.208 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004221/1.134, allocations: 1.918 MB / 1.21 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004012/1.138, allocations: 2.31 MB / 1.212 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.03876/1.176, allocations: 19.15 MB / 1.231 GB, free: 2.438 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches