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.001354/0.001354, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001441/0.001441, allocations: 215.4 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.462/3.462, allocations: 0.49 GB / 0.7959 GB, free: 35.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65.62 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4922, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003514/0.4957, allocations: 1.785 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.496, allocations: 119.9 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4961, allocations: 7.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.4962, allocations: 11.86 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.967e-05/0.4963, allocations: 47.55 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.4965, allocations: 31.95 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.4968, allocations: 179.1 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4969, allocations: 17.23 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.497, allocations: 55.84 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4971, allocations: 75.69 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.4971, allocations: 8 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.4972, allocations: 8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.4972, allocations: 23.92 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.4973, allocations: 59.66 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.4975, allocations: 119.5 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4975, allocations: 3.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4975, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4975, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 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.0008799/0.4984, allocations: 377.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4984, allocations: 12.03 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.406e-05/0.4985, allocations: 192 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.4985, allocations: 42.73 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.4985, allocations: 16.84 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.4989, allocations: 158.3 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4989, allocations: 4.375 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4989, allocations: 8.375 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.4992, allocations: 119.6 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4992, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4992, allocations: 11.94 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4992, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.4995, allocations: 95.88 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.5003, allocations: 423.9 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.5007, allocations: 125.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.5009, allocations: 57.78 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5009, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.501, allocations: 42.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.501, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006086/0.5016, allocations: 177.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.5016, allocations: 81.11 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5018, allocations: 178.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5018, allocations: 25.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.5019, allocations: 120 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.502, allocations: 27.73 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.502, allocations: 21.72 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5022, allocations: 326.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5023, allocations: 43.97 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.5024, allocations: 57.67 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.5027, allocations: 109.6 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5027, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003463/0.5031, allocations: 141.9 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5031, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5031, allocations: 7.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5031, allocations: 3.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5033, allocations: 27.97 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5033, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.5034, allocations: 19.92 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.5034, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 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.0001036/0.5035, allocations: 118.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.5036, allocations: 11.91 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.504, allocations: 158.6 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.504, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.504, allocations: 11.98 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.504, allocations: 3.938 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.5043, allocations: 173 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5043, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.5045, allocations: 27.86 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5045, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5045, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5045, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5045, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.5049, allocations: 322.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.5049, allocations: 15.91 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.505, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5051, allocations: 7.984 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.5052, allocations: 15.92 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.5052, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001133/0.5053, allocations: 119.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5053, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002935/0.5056, allocations: 32 kB / 1.333 GB, free: 10.84 MB / 1.029 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.0007644/0.5064, allocations: 0.8424 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.5067, allocations: 100.1 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5067, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.5069, allocations: 60.03 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.5074, allocations: 54.28 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.5099, allocations: 1.827 MB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/0.51, allocations: 89.62 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.258e-05/0.51, allocations: 12.66 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.5101, allocations: 35.42 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.5101, allocations: 0 / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.5404, allocations: 4.128 MB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.12, allocations: 13.52 kB / 1.34 GB, free: 3.793 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.770309251034632] Failed to read output from testmodel.py, exit status != 0: 12.29925884399563 12.329714644 11.826340418000001 Calling exit ...