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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 159 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.989/2.989, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.09, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003039/1.093, allocations: 1.798 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003105/1.093, allocations: 115.8 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/1.093, allocations: 1.375 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/1.093, allocations: 16.64 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/1.093, allocations: 53.25 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/1.093, allocations: 33.06 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/1.094, allocations: 171.9 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/1.094, allocations: 23.62 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/1.094, allocations: 49.05 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/1.094, allocations: 67.83 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/1.094, allocations: 9.781 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.204e-05/1.094, allocations: 13.97 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/1.094, allocations: 19.94 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/1.094, allocations: 57.12 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/1.094, allocations: 125.1 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.094, allocations: 0.875 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.464e-06/1.094, allocations: 4 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.094, allocations: 0 / 1.189 GB, free: 14.61 MB / 1.076 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.0007652/1.095, allocations: 377.5 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.095, allocations: 10.19 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/1.095, allocations: 16.09 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/1.096, allocations: 154.7 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.096, allocations: 7.281 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/1.096, allocations: 8.469 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.096, allocations: 116.1 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.096, allocations: 192 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.096, allocations: 5.797 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.096, allocations: 1.219 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/1.096, allocations: 97.48 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/1.097, allocations: 398.9 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/1.097, allocations: 125.1 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/1.097, allocations: 59.47 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.097, allocations: 2.703 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/1.097, allocations: 41.34 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/1.097, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0005764/1.098, allocations: 177.9 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.098, allocations: 79.27 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.098, allocations: 164 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.098, allocations: 26.83 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/1.098, allocations: 109.7 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/1.098, allocations: 33.64 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/1.098, allocations: 26.55 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/1.098, allocations: 325.2 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.098, allocations: 44.09 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/1.099, allocations: 60.44 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/1.099, allocations: 105 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.099, allocations: 7.938 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/1.099, allocations: 146.8 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.099, allocations: 5.875 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.099, allocations: 0 / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.099, allocations: 1.859 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/1.099, allocations: 22.11 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.099, allocations: 1.062 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/1.1, allocations: 17.48 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/1.1, allocations: 6.844 kB / 1.192 GB, free: 12.54 MB / 1.076 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 7.228e-05/1.1, allocations: 123.2 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/1.1, allocations: 15.38 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/1.1, allocations: 150.6 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.1, allocations: 1.578 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.1, allocations: 1.031 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.1, allocations: 9.5 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/1.1, allocations: 156.5 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.1, allocations: 0.6562 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.1, allocations: 25.33 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.1, allocations: 0.8906 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.1, allocations: 6.281 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.1, allocations: 0 / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.1, allocations: 2.188 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/1.101, allocations: 314.8 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/1.101, allocations: 12.5 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/1.101, allocations: 2.234 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/1.101, allocations: 12.34 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/1.101, allocations: 7.297 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/1.101, allocations: 2.594 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.135e-05/1.101, allocations: 120.1 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002913/1.101, allocations: 32.16 kB / 1.193 GB, free: 11.82 MB / 1.076 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 8.052e-05/1.102, allocations: 103.8 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003658/1.102, allocations: 96.88 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.102, allocations: 1.062 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.102, allocations: 50.53 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.103, allocations: 52.12 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/1.103, allocations: 239.1 kB / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/1.103, allocations: 92.44 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.956e-05/1.103, allocations: 13.3 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/1.103, allocations: 13.59 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/1.103, allocations: 1.031 kB / 1.193 GB, free: 11.39 MB / 1.076 GB Notification: Performance of Templates: time 0.005751/1.109, allocations: 2.147 MB / 1.195 GB, free: 11.12 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.495095291058533]