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.001809/0.001809, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.002518/0.002518, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.659/1.659, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.172/3.172, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.002315/0.002315, allocations: 63.91 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 176.1 MB / 1.321 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003026/1.138, allocations: 2.225 MB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002076/1.14, allocations: 1.582 MB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/1.14, allocations: 8.594 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/1.14, allocations: 64.36 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/1.141, allocations: 91.62 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/1.141, allocations: 315.1 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/1.142, allocations: 0.6363 MB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/1.142, allocations: 266.8 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/1.142, allocations: 242.8 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/1.142, allocations: 248 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/1.142, allocations: 70.03 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/1.143, allocations: 96.28 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/1.143, allocations: 136.8 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/1.143, allocations: 283.3 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/1.144, allocations: 0.8093 MB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.144, allocations: 4.562 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.144, allocations: 0.5 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.144, allocations: 0 / 1.328 GB, free: 20.15 MB / 1.061 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.001174/1.145, allocations: 0.8232 MB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.145, allocations: 14.05 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.762e-05/1.145, allocations: 19.09 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.145, allocations: 102 kB / 1.329 GB, free: 19.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/1.145, allocations: 69.53 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/1.146, allocations: 357.2 kB / 1.33 GB, free: 19.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/1.146, allocations: 46.06 kB / 1.33 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.146, allocations: 59.81 kB / 1.33 GB, free: 19.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.147, allocations: 0.5042 MB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.147, allocations: 4.516 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/1.147, allocations: 21.75 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/1.147, allocations: 12.56 kB / 1.33 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/1.148, allocations: 365.3 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/1.15, allocations: 1.458 MB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/1.151, allocations: 262.2 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/1.152, allocations: 161.7 kB / 1.332 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/1.152, allocations: 4.938 kB / 1.332 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005529/1.152, allocations: 200.2 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.953e-06/1.152, allocations: 0 / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.001045/1.153, allocations: 398.5 kB / 1.333 GB, free: 17.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.153, allocations: 85.97 kB / 1.333 GB, free: 17.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/1.154, allocations: 412 kB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/1.154, allocations: 38.05 kB / 1.334 GB, free: 16.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.154, allocations: 274.4 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/1.154, allocations: 110.5 kB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.154, allocations: 81.78 kB / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.154, allocations: 357.1 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/1.155, allocations: 129.5 kB / 1.334 GB, free: 16.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/1.155, allocations: 206.4 kB / 1.335 GB, free: 16.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/1.156, allocations: 346.4 kB / 1.335 GB, free: 15.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.156, allocations: 1.031 kB / 1.335 GB, free: 15.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001008/1.157, allocations: 480.5 kB / 1.335 GB, free: 15.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/1.157, allocations: 43.64 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.157, allocations: 2.953 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.157, allocations: 3.438 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/1.157, allocations: 79.52 kB / 1.336 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/1.157, allocations: 4.203 kB / 1.336 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/1.158, allocations: 79.16 kB / 1.336 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/1.158, allocations: 19.16 kB / 1.336 GB, free: 15.56 MB / 1.061 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.0002127/1.158, allocations: 176.9 kB / 1.336 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/1.158, allocations: 38.98 kB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008045/1.159, allocations: 331.5 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/1.159, allocations: 6.719 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.159, allocations: 1.25 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/1.159, allocations: 3.172 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/1.16, allocations: 0.9696 MB / 1.337 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.16, allocations: 5.938 kB / 1.337 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/1.16, allocations: 70.02 kB / 1.337 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.16, allocations: 4.125 kB / 1.337 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/1.16, allocations: 9.062 kB / 1.337 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/1.16, allocations: 2.75 kB / 1.337 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.16, allocations: 3.266 kB / 1.337 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/1.161, allocations: 0.5202 MB / 1.338 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/1.161, allocations: 125.5 kB / 1.338 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/1.161, allocations: 9.359 kB / 1.338 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.161, allocations: 20.11 kB / 1.338 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.161, allocations: 28.66 kB / 1.338 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/1.161, allocations: 12.38 kB / 1.338 GB, free: 14.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002958/1.162, allocations: 291.3 kB / 1.338 GB, free: 13.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.162, allocations: 0 / 1.338 GB, free: 13.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005101/1.162, allocations: 116.9 kB / 1.338 GB, free: 13.82 MB / 1.061 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.0008412/1.163, allocations: 1.059 MB / 1.339 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007136/1.164, allocations: 351.9 kB / 1.34 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.164, allocations: 0 / 1.34 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.164, allocations: 133.9 kB / 1.34 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/1.165, allocations: 69.25 kB / 1.34 GB, free: 12.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.17, allocations: 3.781 MB / 1.344 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/1.17, allocations: 0.8214 MB / 1.344 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002551/1.171, allocations: 43.19 kB / 1.344 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.171, allocations: 157.4 kB / 1.345 GB, free: 9.398 MB / 1.061 GB Notification: Performance of SimCode: time 1.623e-06/1.171, allocations: 4 kB / 1.345 GB, free: 9.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/1.201, allocations: 7.296 MB / 1.352 GB, free: 8.664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.069/10.27, allocations: 10.38 kB / 1.352 GB, free: 8.66 MB / 1.061 GB " [Timeout remaining time 290] (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: 17.32530421897536] Failed to read output from testmodel.py, exit status != 0: 10.403940752963535 10.426942666 9.278491037 Calling exit ...