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.001752/0.001752, allocations: 116.1 kB / 17.17 MB, free: 6 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.002064/0.002064, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.587/1.587, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.08/3.08, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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.002125/0.002125, allocations: 63.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.148, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002482/1.15, allocations: 1.05 MB / 1.341 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001833/1.152, allocations: 1.296 MB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/1.152, allocations: 6.312 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/1.153, allocations: 24.23 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/1.153, allocations: 16.67 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/1.153, allocations: 183.8 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/1.153, allocations: 222.5 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/1.154, allocations: 69.08 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/1.154, allocations: 104.3 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/1.154, allocations: 86.75 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/1.154, allocations: 23.31 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.863e-05/1.154, allocations: 45.31 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/1.154, allocations: 39.53 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/1.154, allocations: 86.61 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003883/1.155, allocations: 268 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.155, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.155, allocations: 0 / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.612e-06/1.155, allocations: 0 / 1.344 GB, free: 14.04 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007574/1.155, allocations: 0.4915 MB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.155, allocations: 8.812 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.086e-05/1.156, allocations: 8.281 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/1.156, allocations: 46 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/1.156, allocations: 33.06 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/1.156, allocations: 217.7 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/1.156, allocations: 12.53 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/1.156, allocations: 24.59 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/1.156, allocations: 132.5 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.156, allocations: 4.547 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.156, allocations: 5.375 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.156, allocations: 2.844 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/1.157, allocations: 87.23 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/1.157, allocations: 0.524 MB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/1.158, allocations: 96.5 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.158, allocations: 44.42 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.158, allocations: 1.656 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/1.158, allocations: 92.8 kB / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/1.158, allocations: 0 / 1.345 GB, free: 12.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004159/1.158, allocations: 159.2 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.158, allocations: 53.39 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/1.159, allocations: 189 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.159, allocations: 28.45 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/1.159, allocations: 126.1 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/1.159, allocations: 30.88 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/1.159, allocations: 45.41 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/1.159, allocations: 332.2 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/1.159, allocations: 55.03 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/1.159, allocations: 83.66 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/1.159, allocations: 133.7 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.159, allocations: 0 / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004196/1.16, allocations: 212.6 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.16, allocations: 39.69 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.16, allocations: 0.75 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.16, allocations: 1.375 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/1.16, allocations: 15.56 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.16, allocations: 1.375 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.16, allocations: 48.64 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/1.16, allocations: 8.422 kB / 1.347 GB, free: 11.52 MB / 1.061 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.0001059/1.16, allocations: 134.5 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/1.16, allocations: 17.41 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/1.16, allocations: 23.44 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.16, allocations: 1.375 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.161, allocations: 4.703 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.161, allocations: 6.062 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/1.161, allocations: 241.7 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.161, allocations: 0 / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/1.161, allocations: 14.77 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.161, allocations: 0.7031 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.161, allocations: 1.938 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.161, allocations: 1.766 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.161, allocations: 0 / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/1.161, allocations: 151.7 kB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/1.161, allocations: 94.19 kB / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/1.161, allocations: 2.234 kB / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/1.161, allocations: 13.12 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.161, allocations: 11.2 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.161, allocations: 7.484 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001125/1.161, allocations: 141.1 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.161, allocations: 0 / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002578/1.162, allocations: 40.8 kB / 1.348 GB, free: 10.8 MB / 1.061 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.0004595/1.162, allocations: 0.6911 MB / 1.348 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003558/1.162, allocations: 183.2 kB / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.162, allocations: 0 / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/1.163, allocations: 42.48 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/1.163, allocations: 29.52 kB / 1.349 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/1.165, allocations: 1.934 MB / 1.35 GB, free: 8.559 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/1.165, allocations: 0.7172 MB / 1.351 GB, free: 7.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.679e-05/1.165, allocations: 17.28 kB / 1.351 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/1.165, allocations: 43.8 kB / 1.351 GB, free: 7.824 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.165, allocations: 1.094 kB / 1.351 GB, free: 7.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/1.189, allocations: 3.799 MB / 1.355 GB, free: 7.316 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.692, allocations: 13.94 kB / 1.355 GB, free: 7.309 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.656262031989172] Failed to read output from testmodel.py, exit status != 0: 9.832671061973087 9.844282186 8.687010599 Calling exit ...