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.002576/0.002576, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.00303/0.00303, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 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 1.503e-06/1.503e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.869e-05/4.02e-05, allocations: 8.781 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003812/0.003853, allocations: 1.851 MB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.004202, allocations: 117.4 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.004294, allocations: 4.719 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004427, allocations: 15.86 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.004536, allocations: 53.03 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.004688, allocations: 37 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.004963, allocations: 179 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.005085, allocations: 17.95 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.00523, allocations: 79.86 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.005344, allocations: 52.5 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.005381, allocations: 13.25 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.738e-05/0.005409, allocations: 8 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.005451, allocations: 27.84 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.005531, allocations: 50.09 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.005762, allocations: 123.6 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.005766, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.005767, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.005774, allocations: 0 / 0.8133 GB, free: 15.54 MB / 0.7761 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.0008997/0.006674, allocations: 481.9 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.006719, allocations: 8.031 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.006789, allocations: 20.84 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.007058, allocations: 161.8 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.007072, allocations: 4.375 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.007092, allocations: 8.375 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.007372, allocations: 113.6 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.007385, allocations: 5.938 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.007402, allocations: 8.375 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.007408, allocations: 384 / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.007659, allocations: 79.91 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.008535, allocations: 0.5049 MB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.008921, allocations: 138.1 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.009068, allocations: 55.98 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.009102, allocations: 4.562 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.009134, allocations: 33.39 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.009135, allocations: 4.531 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000537/0.009672, allocations: 162.3 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.009736, allocations: 81.98 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.00997, allocations: 232.5 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.009997, allocations: 30.23 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01012, allocations: 156.2 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.01016, allocations: 35.7 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.01022, allocations: 27.36 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002806/0.0105, allocations: 0.5001 MB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.01062, allocations: 33.27 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.01074, allocations: 59.3 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.01097, allocations: 92 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01098, allocations: 0.9688 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003036/0.01128, allocations: 138.4 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.0113, allocations: 8 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01131, allocations: 0.8438 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.01133, allocations: 3.984 kB / 0.8164 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01147, allocations: 17.34 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01148, allocations: 0 / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01158, allocations: 19.88 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01159, allocations: 4 kB / 0.8164 GB, free: 12.11 MB / 0.7761 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.0001458/0.01174, allocations: 165.7 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.0118, allocations: 19.89 kB / 0.8166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.01221, allocations: 152.6 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01221, allocations: 0 / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01221, allocations: 0 / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01222, allocations: 4.875 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.01252, allocations: 172.6 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01252, allocations: 3.469 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01265, allocations: 23.94 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01266, allocations: 3.984 kB / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01267, allocations: 0 / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01267, allocations: 0 / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01267, allocations: 4 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004612/0.01313, allocations: 387 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.01317, allocations: 27.77 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.01319, allocations: 0.5625 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01334, allocations: 4.188 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.01341, allocations: 12.98 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.01342, allocations: 8 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001444/0.01356, allocations: 169.9 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01356, allocations: 0 / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002748/0.01384, allocations: 28 kB / 0.8176 GB, free: 10.89 MB / 0.7761 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.0001445/0.01398, allocations: 99.84 kB / 0.8177 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.01432, allocations: 101.6 kB / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01432, allocations: 0 / 0.8178 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01446, allocations: 55.66 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.01488, allocations: 39.22 kB / 0.8178 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.01548, allocations: 242.2 kB / 0.8181 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.01561, allocations: 94.08 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.356e-05/0.01568, allocations: 11.75 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.01574, allocations: 13.81 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01574, allocations: 0 / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.006576/0.02232, allocations: 2.151 MB / 0.8203 GB, free: 8.121 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] 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.523677701014094]