Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007847/0.0007847, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001464/0.001464, allocations: 173.6 kB / 23.24 MB, free: 1.324 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.999/0.999, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.905/1.905, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_13_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.918e-05, allocations: 2.281 kB / 1.001 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00213/0.002149, allocations: 1.793 MB / 1.002 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0002411/0.00239, allocations: 115.6 kB / 1.002 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.002461, allocations: 7.938 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.002554, allocations: 19.8 kB / 1.002 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.002615, allocations: 47.5 kB / 1.003 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.002723, allocations: 35.94 kB / 1.003 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.002885, allocations: 183 kB / 1.003 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.002992, allocations: 17.28 kB / 1.003 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.003079, allocations: 83.84 kB / 1.003 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.003156, allocations: 55.83 kB / 1.003 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.00318, allocations: 12 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.003197, allocations: 8 kB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.003223, allocations: 31.89 kB / 1.003 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.003265, allocations: 39.92 kB / 1.003 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.003404, allocations: 135.5 kB / 1.003 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003407, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003408, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.003414, allocations: 7.938 kB / 1.003 GB, free: 9.855 MB / 0.9167 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.000512/0.003926, allocations: 381.6 kB / 1.003 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.003966, allocations: 13.28 kB / 1.004 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.004, allocations: 38.75 kB / 1.004 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.00403, allocations: 20.83 kB / 1.004 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.004211, allocations: 138.5 kB / 1.004 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.00422, allocations: 8.375 kB / 1.004 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.004231, allocations: 4.375 kB / 1.004 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.00442, allocations: 123.8 kB / 1.004 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.004429, allocations: 4.188 kB / 1.004 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.00444, allocations: 384 / 1.004 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.004446, allocations: 4.125 kB / 1.004 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.004614, allocations: 95.92 kB / 1.004 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.005092, allocations: 423.8 kB / 1.004 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.005337, allocations: 129.2 kB / 1.004 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.005429, allocations: 57.78 kB / 1.005 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.005449, allocations: 0 / 1.005 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005467, allocations: 38.56 kB / 1.005 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.005468, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.000346/0.005814, allocations: 177.5 kB / 1.005 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.005848, allocations: 81.11 kB / 1.005 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.005957, allocations: 171.2 kB / 1.005 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005968, allocations: 25.7 kB / 1.005 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.00602, allocations: 112.1 kB / 1.005 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.006041, allocations: 31.7 kB / 1.005 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.006075, allocations: 21.7 kB / 1.005 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.006154, allocations: 330.8 kB / 1.005 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.006232, allocations: 43.97 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.006313, allocations: 57.62 kB / 1.006 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.006469, allocations: 109.9 kB / 1.006 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006471, allocations: 0 / 1.006 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.006678, allocations: 145.5 kB / 1.006 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.00669, allocations: 8 kB / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006695, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.006709, allocations: 4 kB / 1.006 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.006785, allocations: 20.17 kB / 1.006 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.00679, allocations: 0 / 1.006 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.006845, allocations: 23.88 kB / 1.006 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006852, allocations: 0 / 1.006 GB, free: 6.84 MB / 0.9167 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.874e-05/0.006921, allocations: 126.6 kB / 1.006 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.006947, allocations: 11.91 kB / 1.006 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.007183, allocations: 158.8 kB / 1.006 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007186, allocations: 4 kB / 1.006 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.00719, allocations: 3.938 kB / 1.006 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007193, allocations: 0 / 1.006 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.007374, allocations: 184.9 kB / 1.006 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007375, allocations: 0 / 1.006 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.007435, allocations: 19.98 kB / 1.006 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.007436, allocations: 4 kB / 1.006 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.007446, allocations: 7.984 kB / 1.006 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007448, allocations: 4.188 kB / 1.006 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.00745, allocations: 4 kB / 1.006 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.007685, allocations: 314.5 kB / 1.007 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.007701, allocations: 11.91 kB / 1.007 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.007717, allocations: 4 kB / 1.007 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.007801, allocations: 11.98 kB / 1.007 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.00784, allocations: 7.984 kB / 1.007 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.007847, allocations: 8 kB / 1.007 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.007911, allocations: 121.2 kB / 1.007 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007911, allocations: 0 / 1.007 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001863/0.008097, allocations: 32 kB / 1.007 GB, free: 5.75 MB / 0.9167 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.0003853/0.008483, allocations: 0.8404 MB / 1.008 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.008682, allocations: 95.94 kB / 1.008 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008684, allocations: 0 / 1.008 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.008767, allocations: 59.89 kB / 1.008 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.009051, allocations: 46.31 kB / 1.008 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.01056, allocations: 1.832 MB / 1.01 GB, free: 2.762 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.557e-05/0.01063, allocations: 93.81 kB / 1.01 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.01068, allocations: 12.64 kB / 1.01 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.01074, allocations: 40.48 kB / 1.01 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.01074, allocations: 0 / 1.01 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/0.08669, allocations: 4.607 MB / 1.014 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.825, allocations: 5.062 kB / 1.014 GB, free: 14.2 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu) > Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu) > Buildings_13_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.551634597592056]