Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001535/0.001535, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001525/0.001525, allocations: 166.7 kB / 22.46 MB, free: 5.375 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 / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.245e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003337/0.00337, allocations: 1.786 MB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.003693, allocations: 135.5 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.003779, allocations: 0 / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.003898, allocations: 15.8 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.004004, allocations: 55.44 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.004145, allocations: 35.94 kB / 0.9834 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.004407, allocations: 171.1 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.004535, allocations: 29.23 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.00467, allocations: 75.86 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.004788, allocations: 55.88 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.004822, allocations: 8 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.107e-05/0.004853, allocations: 12 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.00489, allocations: 23.91 kB / 0.9837 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.004961, allocations: 51.84 kB / 0.9838 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005174, allocations: 127.5 kB / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005177, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005178, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.005183, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 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.0008776/0.006061, allocations: 377.7 kB / 0.9842 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.006111, allocations: 12.03 kB / 0.9843 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.006161, allocations: 16.88 kB / 0.9843 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.006459, allocations: 149.5 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006471, allocations: 4.375 kB / 0.9844 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.006493, allocations: 8.375 kB / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.006811, allocations: 123.8 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.006822, allocations: 192 / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.006839, allocations: 4.375 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.006844, allocations: 384 / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.007174, allocations: 99.86 kB / 0.9846 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.008016, allocations: 392.5 kB / 0.985 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.008455, allocations: 129.2 kB / 0.9851 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.008632, allocations: 57.78 kB / 0.9852 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.008662, allocations: 3.984 kB / 0.9852 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.008701, allocations: 34.56 kB / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.008703, allocations: 0 / 0.9852 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006346/0.009337, allocations: 181.5 kB / 0.9854 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.009413, allocations: 81.11 kB / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.0096, allocations: 163.3 kB / 0.9856 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.009625, allocations: 25.7 kB / 0.9857 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.009728, allocations: 104.1 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.009764, allocations: 35.67 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.009822, allocations: 25.72 kB / 0.9858 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.01007, allocations: 322.8 kB / 0.9861 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.01022, allocations: 47.91 kB / 0.9862 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01038, allocations: 57.69 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.01067, allocations: 101.9 kB / 0.9863 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01068, allocations: 4 kB / 0.9863 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003756/0.01105, allocations: 149.4 kB / 0.9865 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.01108, allocations: 8 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01108, allocations: 0 / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.0111, allocations: 192 / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.01126, allocations: 27.98 kB / 0.9865 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01127, allocations: 7.922 kB / 0.9865 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.0114, allocations: 11.89 kB / 0.9865 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.01141, allocations: 7.984 kB / 0.9865 GB, free: 6.508 MB / 0.9356 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.0001186/0.01153, allocations: 125.8 kB / 0.9867 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.01158, allocations: 15.89 kB / 0.9867 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.01203, allocations: 150.7 kB / 0.9868 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01203, allocations: 4 kB / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01204, allocations: 0 / 0.9868 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01204, allocations: 3.938 kB / 0.9868 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.0123, allocations: 153.3 kB / 0.987 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01231, allocations: 8 kB / 0.987 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.01245, allocations: 24.11 kB / 0.987 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01245, allocations: 4 kB / 0.987 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01247, allocations: 4 kB / 0.987 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01247, allocations: 0 / 0.987 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01247, allocations: 4 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.01292, allocations: 302.7 kB / 0.9873 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01294, allocations: 19.78 kB / 0.9873 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.01297, allocations: 12 kB / 0.9873 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.01314, allocations: 7.984 kB / 0.9873 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.01319, allocations: 7.984 kB / 0.9873 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.0132, allocations: 4.281 kB / 0.9873 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001161/0.01332, allocations: 123.9 kB / 0.9875 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01332, allocations: 0 / 0.9875 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002868/0.01361, allocations: 31.94 kB / 0.9875 GB, free: 5.461 MB / 0.9356 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.0001305/0.01374, allocations: 99.25 kB / 0.9876 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.01413, allocations: 107.9 kB / 0.9877 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01413, allocations: 0 / 0.9877 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.0143, allocations: 47.97 kB / 0.9877 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.01473, allocations: 36.3 kB / 0.9878 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.0153, allocations: 238 kB / 0.988 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.01546, allocations: 89.31 kB / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01553, allocations: 8.5 kB / 0.9881 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.0156, allocations: 16.64 kB / 0.9881 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.0156, allocations: 0 / 0.9881 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.005975/0.02157, allocations: 2.137 MB / 0.9902 GB, free: 2.715 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.533159796148539]