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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001697/0.001697, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4066, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004866/0.4116, allocations: 1.836 MB / 1.029 GB, free: 276 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005861/0.4122, allocations: 119.6 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.4124, allocations: 4 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.4127, allocations: 11.86 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.4129, allocations: 47.45 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.4131, allocations: 35.94 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.4135, allocations: 179.1 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.4137, allocations: 25.11 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.4138, allocations: 51.84 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.414, allocations: 71.69 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.4141, allocations: 12 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.37e-05/0.4141, allocations: 11.94 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.4141, allocations: 23.92 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.937e-05/0.4143, allocations: 67.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.4145, allocations: 123.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4145, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4145, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4145, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.001072/0.4156, allocations: 452.1 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.4157, allocations: 12.03 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.4158, allocations: 20.69 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.4162, allocations: 212 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4163, allocations: 4.375 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4163, allocations: 8.375 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.4167, allocations: 111.9 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4167, allocations: 4.188 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4167, allocations: 3.938 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4167, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.417, allocations: 95.88 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.418, allocations: 480.6 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.4184, allocations: 121.2 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.4186, allocations: 65.78 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.4186, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4187, allocations: 34.5 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4187, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006209/0.4193, allocations: 181.4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4194, allocations: 85.11 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4196, allocations: 171.4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.4197, allocations: 29.7 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4198, allocations: 108 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4199, allocations: 35.61 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.4199, allocations: 25.72 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4201, allocations: 322.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.4203, allocations: 47.97 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4205, allocations: 65.61 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4208, allocations: 97.61 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4208, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003567/0.4212, allocations: 149.7 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4212, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4212, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4212, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.4214, allocations: 31.91 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4214, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.4215, allocations: 8 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.4216, allocations: 15.92 kB / 1.032 GB, free: 12.28 MB / 0.8106 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 0.0001415/0.4217, allocations: 121.8 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.4218, allocations: 15.94 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.4222, allocations: 158.5 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4222, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4222, allocations: 4 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4223, allocations: 7.984 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4226, allocations: 221.5 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4226, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.4227, allocations: 23.92 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4228, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4228, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4228, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4228, allocations: 4 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.4232, allocations: 318.5 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.4233, allocations: 85.02 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4233, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4235, allocations: 11.98 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.4236, allocations: 7.984 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4236, allocations: 7.938 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002361/0.4238, allocations: 127.5 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4238, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002832/0.4241, allocations: 27.91 kB / 1.033 GB, free: 11.05 MB / 0.8106 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.0001447/0.4243, allocations: 107.2 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.4247, allocations: 108.1 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4247, allocations: 4 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.4248, allocations: 59.89 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.4253, allocations: 27.98 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.4259, allocations: 227.7 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.4263, allocations: 0.7045 MB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.471e-05/0.4264, allocations: 8.656 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.4264, allocations: 15.44 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.4264, allocations: 0 / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.005507/0.432, allocations: 2.117 MB / 1.037 GB, free: 7.676 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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) Reference file matches