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.0008314/0.0008314, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008014/0.0008014, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8964/0.8964, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.792/1.792, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.085e-05, allocations: 5.234 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00191/0.001931, allocations: 1.794 MB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002395/0.002171, allocations: 119.6 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.00224, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-05/0.002337, allocations: 11.86 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.002399, allocations: 47.5 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.002513, allocations: 39.94 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.002667, allocations: 183 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.002777, allocations: 13.3 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.002869, allocations: 87.78 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.002943, allocations: 51.89 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.002971, allocations: 8 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.002987, allocations: 8 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003011, allocations: 27.89 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.00305, allocations: 43.92 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.003342, allocations: 135.5 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003344, allocations: 4 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003345, allocations: 0 / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.003349, allocations: 0 / 1.003 GB, free: 10.47 MB / 0.9636 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.0005188/0.003868, allocations: 373.7 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003905, allocations: 8.031 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.003942, allocations: 16.84 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.004128, allocations: 153.5 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.004137, allocations: 4.375 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.004153, allocations: 8.375 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.004346, allocations: 119.8 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004354, allocations: 192 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.004367, allocations: 4.375 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004372, allocations: 4.375 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.00454, allocations: 91.88 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.005009, allocations: 400.4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.005256, allocations: 129.2 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.005343, allocations: 53.78 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.005366, allocations: 11.94 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005384, allocations: 34.56 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.005385, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003471/0.005732, allocations: 177.6 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.00577, allocations: 81.09 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.00587, allocations: 167.2 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.005884, allocations: 25.7 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.005937, allocations: 116 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.005958, allocations: 31.7 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.005994, allocations: 21.72 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.006069, allocations: 322.8 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.006146, allocations: 47.95 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.006224, allocations: 53.69 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.00638, allocations: 105.7 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006381, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.006581, allocations: 149.5 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.006596, allocations: 7.984 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.0066, allocations: 0 / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006613, allocations: 4 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.006695, allocations: 23.92 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.0067, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.006753, allocations: 23.88 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.00676, allocations: 384 / 1.006 GB, free: 7.535 MB / 0.9636 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 6.584e-05/0.006826, allocations: 121.8 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.006852, allocations: 11.89 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.007095, allocations: 166.6 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007097, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.007104, allocations: 8 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007107, allocations: 0 / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.007265, allocations: 145.4 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007266, allocations: 0 / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.007329, allocations: 27.91 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007331, allocations: 0 / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.007343, allocations: 8 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007345, allocations: 0 / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007346, allocations: 0 / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.00757, allocations: 310.8 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.00759, allocations: 19.88 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.007608, allocations: 11.92 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.007687, allocations: 8 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.007724, allocations: 3.984 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.007729, allocations: 8 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.401e-05/0.007783, allocations: 124.8 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007783, allocations: 0 / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001803/0.007963, allocations: 24 kB / 1.007 GB, free: 6.492 MB / 0.9636 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 7.338e-05/0.008037, allocations: 107.2 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.008241, allocations: 95.88 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008242, allocations: 0 / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.008323, allocations: 51.97 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.0086, allocations: 48.33 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.008939, allocations: 255.8 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.009, allocations: 89.31 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.009046, allocations: 12.5 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.009046, allocations: 4 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of Templates: time 0.002192/0.01124, allocations: 1.771 MB / 1.009 GB, free: 4.031 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.5519209038466215]