Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.001265/0.001265, 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.001398/0.001398, allocations: 216.5 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.002073/0.002073, allocations: 70.08 kB / 1.155 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4241, allocations: 176.1 MB / 1.327 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003477/0.4276, allocations: 1.939 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.4302, allocations: 1.571 MB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.4304, allocations: 11.94 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.4306, allocations: 59.25 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.4309, allocations: 87.09 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.4317, allocations: 308.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.4324, allocations: 0.6409 MB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.4328, allocations: 262.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.4331, allocations: 239.2 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.4334, allocations: 262.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.4335, allocations: 72 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.4336, allocations: 91.98 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4337, allocations: 123.6 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.434, allocations: 242.8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008255/0.4348, allocations: 0.8133 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4348, allocations: 3.938 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4348, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.4348, allocations: 4 kB / 1.333 GB, free: 11 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001354/0.4362, allocations: 0.7525 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4362, allocations: 11.97 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.622e-05/0.4363, allocations: 21.5 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.4364, allocations: 90.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.4366, allocations: 72.55 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.4371, allocations: 294 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.4371, allocations: 49.67 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.4372, allocations: 56.38 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.4381, allocations: 0.5031 MB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4381, allocations: 0 / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.4381, allocations: 24 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4382, allocations: 16 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.4389, allocations: 357 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.4408, allocations: 1.264 MB / 1.337 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.4414, allocations: 261.2 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.4418, allocations: 169.8 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.4419, allocations: 11.94 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.4423, allocations: 202.8 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.4423, allocations: 0 / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008724/0.4432, allocations: 386.7 kB / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.4433, allocations: 81.11 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.4437, allocations: 409.7 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.4438, allocations: 33.7 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.444, allocations: 276.4 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.4441, allocations: 115 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4442, allocations: 94.06 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4444, allocations: 350.7 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.4447, allocations: 170.5 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.4451, allocations: 236.8 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.4456, allocations: 344 kB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4456, allocations: 0 / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000892/0.4465, allocations: 0.5087 MB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.4466, allocations: 37.69 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4466, allocations: 0 / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4466, allocations: 4 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.447, allocations: 83.78 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.447, allocations: 7.938 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.4473, allocations: 83.52 kB / 1.34 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4474, allocations: 15.98 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002108/0.4476, allocations: 173.8 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.4477, allocations: 43.72 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/0.4484, allocations: 332.8 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4484, allocations: 7.938 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4484, allocations: 0 / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4484, allocations: 3.984 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4498, allocations: 0.8892 MB / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4498, allocations: 0 / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.45, allocations: 59.91 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.45, allocations: 4 kB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.45, allocations: 8 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.45, allocations: 4 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.4501, allocations: 7.938 kB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.4508, allocations: 0.5096 MB / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.4509, allocations: 47.69 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.451, allocations: 8 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.4512, allocations: 19.92 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.4513, allocations: 31.89 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.4513, allocations: 8 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003524/0.4517, allocations: 287.2 kB / 1.343 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4517, allocations: 0 / 1.343 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000503/0.4522, allocations: 115.7 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001101/0.4533, allocations: 1.068 MB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.454, allocations: 384 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.454, allocations: 4.062 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4543, allocations: 131.8 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.4549, allocations: 78.45 kB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.4603, allocations: 3.899 MB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4606, allocations: 220.7 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.4608, allocations: 47.25 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.461, allocations: 155.4 kB / 1.349 GB, free: 10.47 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/0.461, allocations: 11.88 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4922, allocations: 7.734 MB / 1.356 GB, free: 2.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.55, allocations: 4.562 kB / 1.356 GB, free: 2.984 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.746971859014593] Failed to read output from testmodel.py, exit status != 0: 12.724881564965472 12.755554921 12.315235535 Calling exit ...