Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008464/0.0008464, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001961, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007206/0.0007206, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.002199, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9492/0.9492, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08415/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.364/2.364, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2297/2.594, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.641e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002817/0.002834, allocations: 1.911 MB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.003096, allocations: 123.5 kB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.00317, allocations: 0 / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.226e-05/0.003233, allocations: 23.78 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.003318, allocations: 55.44 kB / 0.821 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.084e-05/0.003408, allocations: 31.95 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.003597, allocations: 179.1 kB / 0.8212 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.003689, allocations: 21.89 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.003841, allocations: 103.6 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.003936, allocations: 51.88 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.003965, allocations: 12 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.00399, allocations: 12 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.004039, allocations: 20 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.004089, allocations: 35.94 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004237, allocations: 91.62 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.004247, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004247, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.004255, allocations: 0 / 0.8215 GB, free: 15.85 MB / 0.8073 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.000566/0.004821, allocations: 379.9 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.004854, allocations: 8.031 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.004901, allocations: 20.92 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005079, allocations: 141.5 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.005089, allocations: 4.375 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.005105, allocations: 4.375 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.00529, allocations: 111.4 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005297, allocations: 192 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.005307, allocations: 384 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005313, allocations: 12.36 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.005386, allocations: 31.86 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.005889, allocations: 304.4 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.006081, allocations: 65.2 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.006126, allocations: 29.8 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.006149, allocations: 7.938 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.006173, allocations: 38.5 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.006174, allocations: 0 / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002046/0.006379, allocations: 77.61 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.006419, allocations: 77.11 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006526, allocations: 162.1 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.006539, allocations: 25.7 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.006591, allocations: 104 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.006619, allocations: 35.72 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.006664, allocations: 21.7 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.006752, allocations: 322.8 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.243e-05/0.006784, allocations: 11.98 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.807e-05/0.006822, allocations: 21.72 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.006909, allocations: 53.86 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006911, allocations: 4 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001256/0.007036, allocations: 69.55 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007049, allocations: 7.938 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007053, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.007062, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.007189, allocations: 27.98 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007192, allocations: 0 / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.007259, allocations: 7.953 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.007271, allocations: 8 kB / 0.8236 GB, free: 13.5 MB / 0.8073 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 7.267e-05/0.007343, allocations: 109.8 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.007396, allocations: 19.86 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.007568, allocations: 86.73 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007571, allocations: 0 / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.007572, allocations: 4 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.007576, allocations: 0 / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.007789, allocations: 101.8 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007791, allocations: 0 / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.0079, allocations: 27.92 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.007923, allocations: 11.91 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.007927, allocations: 3.938 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.007935, allocations: 0 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.007937, allocations: 4.188 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.00794, allocations: 4 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.008121, allocations: 238.7 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.008141, allocations: 4 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.008274, allocations: 15.92 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.008312, allocations: 4.219 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.008321, allocations: 8 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.008368, allocations: 39.41 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.008368, allocations: 0 / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002594/0.008628, allocations: 24 kB / 0.8243 GB, free: 12.76 MB / 0.8073 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 8.455e-05/0.008712, allocations: 87.41 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.008834, allocations: 48.7 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.008844, allocations: 3.938 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.008908, allocations: 32.84 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.009388, allocations: 400.8 kB / 0.8248 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.0124, allocations: 229.7 kB / 0.825 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.165e-05/0.01245, allocations: 63.84 kB / 0.8251 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.01253, allocations: 12.98 kB / 0.8251 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.01268, allocations: 95.27 kB / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01268, allocations: 0 / 0.8252 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.005181/0.01786, allocations: 2.544 MB / 0.8277 GB, free: 9.184 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.010702746920288]