Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007987/0.007988, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001679/0.001679, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.572/1.572, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.954/2.954, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 64.12 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4233, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003754/0.4271, allocations: 1.83 MB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000452/0.4276, allocations: 119.6 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.4277, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4279, allocations: 19.8 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.4281, allocations: 47.56 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.4282, allocations: 35.94 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.4285, allocations: 171.1 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.4287, allocations: 25.11 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4288, allocations: 59.78 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.4289, allocations: 63.75 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.429, allocations: 8 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.429, allocations: 12 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.429, allocations: 23.91 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.888e-05/0.4291, allocations: 67.66 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.4293, allocations: 123.8 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4293, allocations: 3.938 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4293, allocations: 4 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4294, allocations: 0 / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008453/0.4302, allocations: 454.8 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4303, allocations: 8.625 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.4303, allocations: 42.73 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.4304, allocations: 16.75 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.4307, allocations: 200.1 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4307, allocations: 8.375 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.4307, allocations: 4.375 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.431, allocations: 119.8 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4311, allocations: 3.938 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4311, allocations: 0 / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4311, allocations: 8 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.4314, allocations: 99.91 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.4321, allocations: 468.6 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.4325, allocations: 137.2 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.4327, allocations: 57.78 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4327, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4327, allocations: 42.55 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.916e-06/0.4327, allocations: 0 / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005918/0.4333, allocations: 185.4 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4334, allocations: 85.11 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.4336, allocations: 171.6 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4336, allocations: 25.7 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.4337, allocations: 112 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.4337, allocations: 35.61 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.4338, allocations: 25.72 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4339, allocations: 330.7 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4341, allocations: 40.03 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4342, allocations: 69.67 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4345, allocations: 97.67 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4345, allocations: 0 / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003398/0.4349, allocations: 141.5 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4349, allocations: 8 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4349, allocations: 0 / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4349, allocations: 7.984 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4351, allocations: 19.98 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4351, allocations: 0 / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4352, allocations: 27.77 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4352, allocations: 4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.972e-05/0.4353, allocations: 118.7 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.4354, allocations: 7.906 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.4358, allocations: 154.5 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4359, allocations: 7.984 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4359, allocations: 0 / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4359, allocations: 4.125 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.4362, allocations: 225.4 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4362, allocations: 8 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4363, allocations: 19.98 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4363, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4363, allocations: 4 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4364, allocations: 4 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4364, allocations: 0 / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.4368, allocations: 314.7 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.4369, allocations: 92.92 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.4369, allocations: 4 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4371, allocations: 11.92 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.4371, allocations: 19.86 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4371, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001041/0.4373, allocations: 127.2 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4373, allocations: 4 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002868/0.4376, allocations: 28 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000744/0.4383, allocations: 0.837 MB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.4387, allocations: 107.9 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4387, allocations: 0 / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.4389, allocations: 51.97 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.4393, allocations: 48.73 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4417, allocations: 1.833 MB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.442, allocations: 0.7045 MB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.4421, allocations: 8.656 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.4422, allocations: 35.42 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of SimCode: time 2.344e-06/0.4422, allocations: 0 / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.4621, allocations: 3.709 MB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.458, allocations: 13.38 kB / 1.221 GB, free: 11.74 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,heaCur.TSup,heaCur.TRet,heaCur.TOut,heaCur1.TRoo_in,heaCur1.TSup,heaCur1.TRet Variables in the result:TOut.duration,TOut.height,TOut.offset,TOut.startTime,TOut.y,TOut2.k,TOut2.y,TRoo.height,TRoo.offset,TRoo.startTime,TRoo.y,heaCur.TOut,heaCur.TOut_nominal,heaCur.TRet,heaCur.TRet_nominal,heaCur.TRoo,heaCur.TRoo_nominal,heaCur.TSup,heaCur.TSup_nominal,heaCur.dTOutHeaBal,heaCur.m,heaCur.use_TRoo_in,heaCur1.TOut,heaCur1.TOut_nominal,heaCur1.TRet,heaCur1.TRet_nominal,heaCur1.TRoo,heaCur1.TRoo_in,heaCur1.TRoo_nominal,heaCur1.TSup,heaCur1.TSup_nominal,heaCur1.dTOutHeaBal,heaCur1.m,heaCur1.use_TRoo_in,time