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.001575/0.001575, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.00192/0.00192, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.075/3.075, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.002051/0.002051, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.14, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00226/1.142, allocations: 1.038 MB / 1.322 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00194/1.144, allocations: 1.299 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/1.144, allocations: 2.531 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/1.144, allocations: 22.36 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/1.144, allocations: 22.98 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/1.145, allocations: 174.6 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/1.145, allocations: 231.6 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/1.145, allocations: 61.86 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/1.145, allocations: 96.91 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/1.146, allocations: 92.5 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/1.146, allocations: 21.69 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/1.146, allocations: 42.95 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/1.146, allocations: 43.17 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/1.146, allocations: 93.09 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/1.146, allocations: 257.1 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.146, allocations: 0 / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.146, allocations: 0 / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.146, allocations: 6.875 kB / 1.325 GB, free: 22.52 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.0007771/1.147, allocations: 0.4932 MB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.147, allocations: 18.67 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/1.147, allocations: 2.75 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/1.147, allocations: 45.05 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/1.147, allocations: 34.38 kB / 1.325 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/1.148, allocations: 225 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/1.148, allocations: 12.06 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/1.148, allocations: 25.55 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/1.148, allocations: 129.8 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.148, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.148, allocations: 4 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.148, allocations: 2.594 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/1.148, allocations: 85.36 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/1.149, allocations: 0.5188 MB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/1.149, allocations: 96.77 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/1.149, allocations: 41.58 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/1.149, allocations: 6.234 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/1.15, allocations: 102.8 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 2.093e-06/1.15, allocations: 0 / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003948/1.15, allocations: 154 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/1.15, allocations: 54.25 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.15, allocations: 180.6 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/1.15, allocations: 32.48 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/1.15, allocations: 128 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.15, allocations: 32.66 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/1.15, allocations: 41.81 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/1.15, allocations: 328.9 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.151, allocations: 56.31 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/1.151, allocations: 82.58 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/1.151, allocations: 135.6 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.151, allocations: 0 / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004537/1.151, allocations: 214.7 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.151, allocations: 36.86 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.151, allocations: 9.812 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.151, allocations: 1.031 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/1.152, allocations: 18.55 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.152, allocations: 1.125 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/1.152, allocations: 40.86 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.152, allocations: 13.81 kB / 1.328 GB, free: 19.99 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.0001067/1.152, allocations: 134 kB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/1.152, allocations: 13.44 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/1.152, allocations: 24.91 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.152, allocations: 1.188 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.152, allocations: 4 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.152, allocations: 4.5 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/1.152, allocations: 236.4 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.152, allocations: 0 / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/1.152, allocations: 14.34 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.152, allocations: 1.312 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.152, allocations: 5.406 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.152, allocations: 0.7812 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.152, allocations: 4 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/1.153, allocations: 161 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/1.153, allocations: 88.92 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/1.153, allocations: 5.594 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/1.153, allocations: 7.938 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/1.153, allocations: 12.88 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/1.153, allocations: 14.69 kB / 1.329 GB, free: 19.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001081/1.153, allocations: 135.8 kB / 1.329 GB, free: 19.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.153, allocations: 0 / 1.329 GB, free: 19.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002602/1.153, allocations: 40.42 kB / 1.329 GB, free: 19.26 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.0005592/1.154, allocations: 0.6979 MB / 1.33 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004138/1.154, allocations: 168.3 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.154, allocations: 0.5938 kB / 1.33 GB, free: 18.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/1.154, allocations: 40.59 kB / 1.33 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/1.155, allocations: 32.36 kB / 1.33 GB, free: 18.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/1.157, allocations: 1.947 MB / 1.332 GB, free: 17.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/1.157, allocations: 0.7169 MB / 1.333 GB, free: 16.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.866e-05/1.157, allocations: 13.47 kB / 1.333 GB, free: 16.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/1.157, allocations: 46.61 kB / 1.333 GB, free: 16.28 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/1.157, allocations: 0 / 1.333 GB, free: 16.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/1.182, allocations: 3.791 MB / 1.336 GB, free: 15.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.73, allocations: 6.719 kB / 1.336 GB, free: 15.77 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.57443785300711] Failed to read output from testmodel.py, exit status != 0: 9.86495667800773 9.887617681 8.737390613 Calling exit ...