Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001342/0.001342, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001677/0.001677, allocations: 214.1 kB / 23.04 MB, free: 5.074 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.62/1.62, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.424/3.424, allocations: 0.49 GB / 0.7959 GB, free: 33.24 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.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_12_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_12_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.001843/0.001843, allocations: 63.86 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4018, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002452/0.4043, allocations: 1.051 MB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.4062, allocations: 1.307 MB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.4063, allocations: 4 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.4064, allocations: 15.8 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.4065, allocations: 27.72 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.4071, allocations: 180.3 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.4074, allocations: 220.1 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.4075, allocations: 68.88 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.4077, allocations: 99.7 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.4079, allocations: 95.53 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.4079, allocations: 27.94 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.408, allocations: 39.98 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.408, allocations: 39.84 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.4081, allocations: 91.58 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.4085, allocations: 259.3 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4085, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4085, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4085, allocations: 0 / 1.33 GB, free: 14.45 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007005/0.4092, allocations: 431.2 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4092, allocations: 8.031 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.774e-05/0.4092, allocations: 4.188 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.4093, allocations: 46.75 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.4095, allocations: 32.78 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4097, allocations: 171.2 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4097, allocations: 8.375 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.4098, allocations: 27.94 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.41, allocations: 129.6 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4101, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4101, allocations: 11.94 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4101, allocations: 11.92 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4103, allocations: 79.97 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.4111, allocations: 499.2 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.4114, allocations: 98.61 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4115, allocations: 44.83 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4115, allocations: 0 / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.4117, allocations: 91.36 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 4.759e-06/0.4117, allocations: 7.984 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003965/0.4121, allocations: 154 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4122, allocations: 55.41 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4124, allocations: 187 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4124, allocations: 29.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.4125, allocations: 120.4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4125, allocations: 35.72 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.4126, allocations: 49.69 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4128, allocations: 330.8 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4129, allocations: 51.97 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4131, allocations: 81.09 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.4133, allocations: 136.2 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4133, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004493/0.4138, allocations: 219.1 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.4138, allocations: 37.7 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4138, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4138, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.4139, allocations: 19.92 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4139, allocations: 0 / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4142, allocations: 55.84 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4142, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 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.0001302/0.4143, allocations: 135 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4143, allocations: 11.91 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.4144, allocations: 17.41 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4144, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4144, allocations: 7.938 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4144, allocations: 7.922 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4146, allocations: 200.7 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4146, allocations: 0 / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.4147, allocations: 23.94 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4147, allocations: 3.984 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4147, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4147, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4147, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.415, allocations: 152.9 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.415, allocations: 19.84 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.415, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4151, allocations: 7.984 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.4152, allocations: 23.91 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4152, allocations: 3.938 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001183/0.4153, allocations: 135.2 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4153, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.4155, allocations: 39.95 kB / 1.334 GB, free: 10.14 MB / 1.029 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.000602/0.4161, allocations: 0.6904 MB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.4165, allocations: 175.3 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4165, allocations: 0 / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4166, allocations: 47.92 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4169, allocations: 33.41 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.4194, allocations: 1.93 MB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4197, allocations: 0.7162 MB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.4198, allocations: 17.08 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.4198, allocations: 43.42 kB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4199, allocations: 0 / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.4459, allocations: 3.915 MB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 4.062 kB / 1.341 GB, free: 2.598 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.27756306802621] Failed to read output from testmodel.py, exit status != 0: 11.95499394502258 11.973558789 11.561551179 Calling exit ...