Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002266/0.002266, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.002448/0.002448, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.536/1.536, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 1.057 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3737, allocations: 160.7 MB / 1.214 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003564/0.3773, allocations: 1.824 MB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.3776, allocations: 123.6 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.3777, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.3779, allocations: 15.86 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.378, allocations: 47.5 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.3781, allocations: 35.95 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.3784, allocations: 175.1 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3785, allocations: 25.05 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3786, allocations: 55.84 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3788, allocations: 71.69 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.3788, allocations: 8 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.3789, allocations: 12 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.3789, allocations: 19.86 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.379, allocations: 67.66 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3792, allocations: 119.5 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3792, allocations: 0 / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3792, allocations: 0 / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3792, allocations: 0 / 1.217 GB, free: 14.42 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.0009298/0.3801, allocations: 470.6 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3802, allocations: 11.98 kB / 1.217 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.3802, allocations: 12.89 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.3806, allocations: 204.1 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3806, allocations: 8.375 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3806, allocations: 12.38 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.3809, allocations: 119.8 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3809, allocations: 4.172 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.381, allocations: 3.938 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.381, allocations: 0 / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.3813, allocations: 103.9 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.3821, allocations: 464.8 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.3825, allocations: 129.2 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3827, allocations: 58.52 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.3828, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3828, allocations: 38.5 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.3828, allocations: 0 / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0007191/0.3835, allocations: 181.5 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.3836, allocations: 89.03 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.3838, allocations: 175.8 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3838, allocations: 29.7 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3839, allocations: 108 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.384, allocations: 35.73 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.384, allocations: 25.72 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3842, allocations: 322.8 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3844, allocations: 43.97 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3845, allocations: 57.69 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.3848, allocations: 109.6 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3848, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003706/0.3852, allocations: 141.5 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3852, allocations: 4 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3852, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3853, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3854, allocations: 27.92 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3854, allocations: 0 / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3855, allocations: 15.94 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3856, allocations: 11.88 kB / 1.219 GB, free: 11.2 MB / 0.9669 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.0001226/0.3857, allocations: 121.8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.3857, allocations: 16.31 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005749/0.3863, allocations: 158.5 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3863, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3863, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3863, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.3868, allocations: 237.5 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3868, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3869, allocations: 23.92 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3869, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3869, allocations: 4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3869, allocations: 4 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3869, allocations: 0 / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.3875, allocations: 310.8 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.3876, allocations: 89.38 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3876, allocations: 15.94 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3878, allocations: 7.984 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.3878, allocations: 7.984 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3879, allocations: 7.938 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001248/0.388, allocations: 127.2 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.388, allocations: 0 / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002871/0.3883, allocations: 28 kB / 1.221 GB, free: 9.961 MB / 0.9669 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.000131/0.3884, allocations: 103.2 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3888, allocations: 95.88 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3888, allocations: 0 / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3889, allocations: 51.91 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.3894, allocations: 52.33 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.39, allocations: 257 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.3905, allocations: 0.7045 MB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.3906, allocations: 19.44 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/0.3906, allocations: 0 / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of Templates: time 0.00414/0.3948, allocations: 1.764 MB / 1.224 GB, free: 6.875 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.21069409395568]