Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 193 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.946/2.946, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 67.89 kB / 1.109 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.29, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004805/1.294, allocations: 1.85 MB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004448/1.295, allocations: 119.6 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/1.295, allocations: 3.938 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/1.295, allocations: 11.86 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/1.295, allocations: 55.55 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/1.295, allocations: 31.95 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/1.296, allocations: 171.1 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/1.296, allocations: 27.95 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/1.296, allocations: 55.84 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/1.296, allocations: 63.7 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/1.296, allocations: 8 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.081e-05/1.296, allocations: 12 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/1.296, allocations: 23.91 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/1.296, allocations: 67.61 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/1.297, allocations: 123.2 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.297, allocations: 0 / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.355e-06/1.297, allocations: 4 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.297, allocations: 0 / 1.277 GB, free: 1.586 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.0009523/1.298, allocations: 385.6 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.298, allocations: 11.98 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/1.298, allocations: 16.84 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/1.298, allocations: 156.5 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.298, allocations: 8.312 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/1.298, allocations: 8.375 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/1.299, allocations: 115.9 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.299, allocations: 192 / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.299, allocations: 3.938 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.299, allocations: 3.984 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/1.299, allocations: 99.88 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.3, allocations: 439.8 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/1.3, allocations: 129.2 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.301, allocations: 61.77 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/1.301, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.301, allocations: 38.5 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/1.301, allocations: 3.938 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000596/1.301, allocations: 173.8 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.301, allocations: 85.05 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/1.302, allocations: 170.3 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/1.302, allocations: 33.7 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/1.302, allocations: 104.1 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/1.302, allocations: 27.75 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/1.302, allocations: 33.64 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.302, allocations: 326.8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/1.302, allocations: 39.97 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/1.302, allocations: 67.34 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/1.303, allocations: 105.6 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.303, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003452/1.303, allocations: 141.5 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.303, allocations: 6.031 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.303, allocations: 8 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.303, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/1.303, allocations: 23.92 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.303, allocations: 4 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/1.303, allocations: 15.88 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.303, allocations: 7.938 kB / 1.28 GB, free: 14.57 MB / 0.9825 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.0001151/1.303, allocations: 117.8 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/1.303, allocations: 15.95 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/1.304, allocations: 158.6 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.304, allocations: 4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.304, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.304, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/1.304, allocations: 196.9 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.304, allocations: 4 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.304, allocations: 23.98 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/1.304, allocations: 3.984 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/1.304, allocations: 4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.304, allocations: 3.938 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.304, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/1.305, allocations: 322.9 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/1.305, allocations: 11.94 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/1.305, allocations: 7.984 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/1.305, allocations: 4 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/1.305, allocations: 7.984 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/1.305, allocations: 11.94 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001189/1.305, allocations: 124.2 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/1.305, allocations: 0 / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002887/1.306, allocations: 35.94 kB / 1.281 GB, free: 13.45 MB / 0.9825 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.0001419/1.306, allocations: 99.19 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003789/1.306, allocations: 103.9 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.306, allocations: 0 / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/1.306, allocations: 47.91 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.307, allocations: 46.73 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/1.307, allocations: 235.5 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/1.308, allocations: 0.7162 MB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.956e-05/1.308, allocations: 12.64 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/1.308, allocations: 15.44 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/1.308, allocations: 0 / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.006462/1.314, allocations: 2.162 MB / 1.284 GB, free: 10.01 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.095938676968217]