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.0009908/0.0009908, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009762/0.0009762, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9243/0.9243, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.613e-06/1.613e-06, allocations: 0 / 0.76 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.018e-05, allocations: 2.312 kB / 0.76 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002167/0.002187, allocations: 1.873 MB / 0.7618 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.002545, allocations: 134.6 kB / 0.7619 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.002627, allocations: 1.156 kB / 0.7619 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.002733, allocations: 11.86 kB / 0.7619 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.002826, allocations: 63.25 kB / 0.762 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.002938, allocations: 31.95 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.003102, allocations: 176.6 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.003201, allocations: 25.92 kB / 0.7622 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.003297, allocations: 75.88 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.003376, allocations: 59.8 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003401, allocations: 9.25 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.003417, allocations: 12 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.003442, allocations: 19.92 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.003482, allocations: 44.84 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003606, allocations: 107.6 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.003608, allocations: 8.953 kB / 0.7625 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003609, allocations: 0 / 0.7625 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003613, allocations: 0 / 0.7625 GB, free: 3.949 MB / 0.7136 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.0003971/0.00401, allocations: 346.8 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.004039, allocations: 8.031 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.004069, allocations: 16.92 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.004207, allocations: 142.5 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.004214, allocations: 384 / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.00423, allocations: 13.12 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.004358, allocations: 100.5 kB / 0.7631 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004364, allocations: 0.9375 kB / 0.7631 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.004375, allocations: 4.375 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.00438, allocations: 5 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.004426, allocations: 26.11 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.004752, allocations: 304.2 kB / 0.7635 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.004891, allocations: 82.66 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.004923, allocations: 21.72 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.00494, allocations: 4 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.004958, allocations: 34.5 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.00496, allocations: 0.5938 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001503/0.00511, allocations: 84.25 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.005145, allocations: 77.11 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.005222, allocations: 153.2 kB / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005234, allocations: 33.64 kB / 0.7639 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.005274, allocations: 104 kB / 0.764 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.005293, allocations: 31.73 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.005328, allocations: 25.7 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.005408, allocations: 325.5 kB / 0.7644 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.005428, allocations: 11.94 kB / 0.7644 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.005454, allocations: 21.7 kB / 0.7644 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.005506, allocations: 37.69 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005508, allocations: 4 kB / 0.7645 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.854e-05/0.005587, allocations: 77.8 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.005596, allocations: 4 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.0056, allocations: 1.094 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.00561, allocations: 0 / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.005678, allocations: 19.98 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.005681, allocations: 0.9375 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.005721, allocations: 16.12 kB / 0.7646 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.005727, allocations: 8.875 kB / 0.7646 GB, free: 1.664 MB / 0.7136 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 5.167e-05/0.005779, allocations: 109.8 kB / 0.7647 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.005808, allocations: 21.28 kB / 0.7647 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.005916, allocations: 82.75 kB / 0.7648 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005919, allocations: 5.469 kB / 0.7648 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.00592, allocations: 0 / 0.7648 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005922, allocations: 0 / 0.7648 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.006064, allocations: 105.8 kB / 0.7649 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006065, allocations: 0.5 kB / 0.7649 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.006114, allocations: 19.98 kB / 0.7649 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006115, allocations: 0.5938 kB / 0.7649 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006121, allocations: 0.7188 kB / 0.7649 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.006122, allocations: 3.938 kB / 0.7649 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006123, allocations: 4.5 kB / 0.7649 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.006238, allocations: 242.2 kB / 0.7652 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.006253, allocations: 15.89 kB / 0.7652 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.006267, allocations: 4 kB / 0.7652 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.006332, allocations: 3.938 kB / 0.7652 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.006363, allocations: 11.98 kB / 0.7652 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.006367, allocations: 4 kB / 0.7652 GB, free: 1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.006397, allocations: 47.08 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006397, allocations: 0 / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001514/0.006549, allocations: 28 kB / 0.7653 GB, free: 0.9258 MB / 0.7136 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 6.856e-05/0.006617, allocations: 83.08 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.006699, allocations: 44.97 kB / 0.7654 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.006704, allocations: 8 kB / 0.7654 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.006733, allocations: 20.84 kB / 0.7654 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.006955, allocations: 41.95 kB / 0.7655 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.007373, allocations: 234.1 kB / 0.7657 GB, free: 472 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.007417, allocations: 64.25 kB / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.007461, allocations: 15.33 kB / 0.7658 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.007558, allocations: 83.33 kB / 0.7658 GB, free: 292 kB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.007558, allocations: 3.594 kB / 0.7659 GB, free: 292 kB / 0.7136 GB Notification: Performance of Templates: time 0.003466/0.01102, allocations: 2.263 MB / 0.7681 GB, free: 14.17 MB / 0.7292 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.95486222114414]