Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001829/0.001829, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001776/0.001776, allocations: 189.5 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 60.05 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve): time 0.006581/1.104, allocations: 4.732 MB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00661/1.111, allocations: 3.19 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/1.112, allocations: 31.5 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008652/1.113, allocations: 237.6 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/1.115, allocations: 464.5 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/1.117, allocations: 0.8977 MB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002487/1.12, allocations: 1.584 MB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/1.121, allocations: 480.8 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/1.122, allocations: 0.6656 MB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02182/1.144, allocations: 3.874 MB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009861/1.145, allocations: 121.9 kB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/1.146, allocations: 200.2 kB / 1.105 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007899/1.147, allocations: 290.5 kB / 1.105 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/1.149, allocations: 0.6003 MB / 1.106 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004704/1.153, allocations: 1.529 MB / 1.107 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.153, allocations: 1.375 kB / 1.107 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.984e-06/1.153, allocations: 0 / 1.107 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001043/1.154, allocations: 0 / 1.107 GB, free: 11.16 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.006114/1.16, allocations: 1.729 MB / 1.109 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.16, allocations: 12.72 kB / 1.109 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/1.161, allocations: 146.7 kB / 1.109 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/1.164, allocations: 0.884 MB / 1.11 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.164, allocations: 65.8 kB / 1.11 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/1.165, allocations: 81.83 kB / 1.11 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/1.167, allocations: 0.787 MB / 1.111 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/1.167, allocations: 1.344 kB / 1.111 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.167, allocations: 30.81 kB / 1.111 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/1.167, allocations: 17.5 kB / 1.111 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.169, allocations: 494.8 kB / 1.111 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006451/1.175, allocations: 2.239 MB / 1.113 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.177, allocations: 0.7265 MB / 1.114 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/1.178, allocations: 282.2 kB / 1.114 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/1.178, allocations: 15.88 kB / 1.114 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/1.179, allocations: 467.9 kB / 1.115 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.457e-06/1.179, allocations: 3.938 kB / 1.115 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.002679/1.182, allocations: 1.007 MB / 1.116 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/1.182, allocations: 285.9 kB / 1.116 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/1.184, allocations: 0.8842 MB / 1.117 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/1.184, allocations: 57.47 kB / 1.117 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/1.185, allocations: 488.6 kB / 1.117 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.185, allocations: 240.2 kB / 1.118 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/1.185, allocations: 209 kB / 1.118 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.186, allocations: 341.7 kB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/1.186, allocations: 273.3 kB / 1.118 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.187, allocations: 0.5609 MB / 1.119 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.189, allocations: 0.8288 MB / 1.12 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.189, allocations: 2.312 kB / 1.12 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002509/1.192, allocations: 1.086 MB / 1.121 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.192, allocations: 130.3 kB / 1.121 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.192, allocations: 6.562 kB / 1.121 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/1.192, allocations: 10.78 kB / 1.121 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/1.192, allocations: 160.3 kB / 1.121 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.97e-05/1.192, allocations: 15.95 kB / 1.121 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/1.193, allocations: 111 kB / 1.121 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.194, allocations: 41.44 kB / 1.121 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/1.195, allocations: 457 kB / 1.122 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001081/1.196, allocations: 0.5576 MB / 1.122 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/1.197, allocations: 0.8224 MB / 1.123 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.959e-06/1.197, allocations: 6.562 kB / 1.123 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.00247/1.2, allocations: 1.08 MB / 1.124 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/1.2, allocations: 121.6 kB / 1.124 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.2, allocations: 9.906 kB / 1.124 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.2, allocations: 11.73 kB / 1.124 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/1.2, allocations: 158.5 kB / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/1.2, allocations: 15.83 kB / 1.124 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/1.201, allocations: 103.6 kB / 1.125 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/1.201, allocations: 45.2 kB / 1.125 GB, free: 0.9375 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 68 (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.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 (121): * Single equations (assignments): 117 * 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.0005067/1.202, allocations: 310.3 kB / 1.125 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/1.202, allocations: 121.9 kB / 1.125 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/1.204, allocations: 0.8365 MB / 1.126 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.204, allocations: 5.875 kB / 1.126 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.204, allocations: 4 kB / 1.126 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/1.204, allocations: 248.8 kB / 1.126 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.205, allocations: 26.59 kB / 1.126 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/1.205, allocations: 40.84 kB / 1.126 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.205, allocations: 78.61 kB / 1.126 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001902/1.207, allocations: 0.9283 MB / 1.127 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002717/1.21, allocations: 1.336 MB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007406/1.211, allocations: 318.4 kB / 1.129 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001157/1.212, allocations: 0.5879 MB / 1.129 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of Backend: time 4.21e-07/1.212, allocations: 0 / 1.129 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005087/1.217, allocations: 1.901 MB / 1.131 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of SimCode: time 0.004724/1.222, allocations: 2.285 MB / 1.133 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of Templates: time 0.05218/1.274, allocations: 19.08 MB / 1.152 GB, free: 6.066 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches