Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.001311/0.001311, 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.001578/0.001578, allocations: 217.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.596/1.596, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.304/3.304, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",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.001985/0.001985, allocations: 70.97 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4228, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.004414/0.4272, allocations: 0.9607 MB / 1.346 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.43, allocations: 1.284 MB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.4301, allocations: 0 / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.4303, allocations: 19.73 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.4304, allocations: 23.8 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.4312, allocations: 174.6 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.4316, allocations: 228.1 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.4319, allocations: 65.19 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.4321, allocations: 103.6 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.4323, allocations: 95.58 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.4324, allocations: 20 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.4325, allocations: 39.98 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.4326, allocations: 35.86 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.4327, allocations: 83.62 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.4331, allocations: 259 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4332, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.055e-06/0.4332, allocations: 3.938 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.4332, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001062/0.4342, allocations: 433.1 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.4343, allocations: 8.031 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.15e-05/0.4343, allocations: 4.188 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.4344, allocations: 46.73 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.4346, allocations: 32.78 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4349, allocations: 171.8 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.4349, allocations: 12.38 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.435, allocations: 19.94 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.4353, allocations: 129.6 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4353, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.4353, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4353, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.4355, allocations: 83.95 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.4363, allocations: 455.3 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.4366, allocations: 94.55 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4367, allocations: 40.97 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.4368, allocations: 12.11 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.437, allocations: 91.38 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.437, allocations: 3.938 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004114/0.4374, allocations: 153.5 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4375, allocations: 51.41 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4377, allocations: 195.4 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.4377, allocations: 29.7 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.4378, allocations: 124.3 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.4379, allocations: 35.73 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.438, allocations: 45.69 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4381, allocations: 326.8 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4383, allocations: 85.67 kB / 1.351 GB, free: 9.738 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4385, allocations: 142.8 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.4388, allocations: 134.9 kB / 1.351 GB, free: 9.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4388, allocations: 3.938 kB / 1.351 GB, free: 9.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004575/0.4392, allocations: 252.9 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.4393, allocations: 33.7 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4393, allocations: 0 / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4393, allocations: 4 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.4394, allocations: 15.98 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4394, allocations: 0 / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.4396, allocations: 51.78 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.4396, allocations: 4 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001426/0.4398, allocations: 137.8 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.4398, allocations: 11.91 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.4398, allocations: 17.39 kB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4399, allocations: 4 kB / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4399, allocations: 0 / 1.352 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.4399, allocations: 3.938 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4401, allocations: 196.6 kB / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4401, allocations: 0 / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.4402, allocations: 15.98 kB / 1.352 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4402, allocations: 4 kB / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4402, allocations: 0 / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4402, allocations: 0 / 1.352 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4402, allocations: 3.984 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.4405, allocations: 153.4 kB / 1.352 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.4405, allocations: 23.83 kB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.4405, allocations: 8 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.4406, allocations: 11.98 kB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.4407, allocations: 7.984 kB / 1.352 GB, free: 8.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4407, allocations: 7.938 kB / 1.352 GB, free: 8.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001265/0.4408, allocations: 139.2 kB / 1.352 GB, free: 8.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4408, allocations: 0 / 1.352 GB, free: 8.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002459/0.441, allocations: 35.95 kB / 1.353 GB, free: 8.207 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0006935/0.4417, allocations: 0.6981 MB / 1.353 GB, free: 7.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.4421, allocations: 193 kB / 1.353 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4421, allocations: 0 / 1.353 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4423, allocations: 48.11 kB / 1.353 GB, free: 7.227 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4426, allocations: 37.62 kB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.4453, allocations: 2.049 MB / 1.355 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.4454, allocations: 103.2 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.579e-05/0.4455, allocations: 17.08 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.4456, allocations: 43.42 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of SimCode: time 3.8e-07/0.4456, allocations: 0 / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.4732, allocations: 4.087 MB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.9, allocations: 10.09 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.254131926922128] Failed to read output from testmodel.py, exit status != 0: 12.07374558201991 12.102791745 11.664278887 Calling exit ...