Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001943/0.001943, 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.00307/0.00307, allocations: 214.4 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 33.29 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.BaseClasses.Validation.TuningMonitor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor",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.002028/0.002028, allocations: 65.48 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004652/0.3595, allocations: 2.367 MB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3615, allocations: 0.9349 MB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.3618, allocations: 7.938 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.362, allocations: 59.34 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.3622, allocations: 63.45 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3634, allocations: 450.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.3642, allocations: 0.6249 MB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.3646, allocations: 187.1 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.3648, allocations: 231.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.3651, allocations: 231 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.3652, allocations: 67.94 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.3653, allocations: 79.98 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.3654, allocations: 91.75 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.3657, allocations: 246.9 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.3665, allocations: 0.7319 MB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3665, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3665, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3665, allocations: 3.938 kB / 1.333 GB, free: 11.61 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001152/0.3677, allocations: 0.7016 MB / 1.334 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3677, allocations: 12.03 kB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.42e-05/0.3677, allocations: 12.84 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/0.3678, allocations: 74.69 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3679, allocations: 56.66 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.3685, allocations: 305.5 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.3685, allocations: 29.03 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.3686, allocations: 48.36 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.3691, allocations: 282.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3691, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.3692, allocations: 15.98 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3692, allocations: 8 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3695, allocations: 198.5 kB / 1.335 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3711, allocations: 0.9757 MB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.3716, allocations: 199.1 kB / 1.336 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3718, allocations: 96.81 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3718, allocations: 8 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.3722, allocations: 193.5 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.3722, allocations: 0 / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0006942/0.3729, allocations: 382.8 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3729, allocations: 59.41 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3732, allocations: 269.7 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.3733, allocations: 45.7 kB / 1.337 GB, free: 7.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3734, allocations: 196.9 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.3735, allocations: 87.31 kB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.3737, allocations: 102 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3739, allocations: 338.8 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3742, allocations: 160.6 kB / 1.338 GB, free: 6.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.3747, allocations: 232.7 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.3752, allocations: 377 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3752, allocations: 0 / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001021/0.3762, allocations: 0.5611 MB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.27e-05/0.3763, allocations: 113.2 kB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3763, allocations: 4 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3763, allocations: 7.938 kB / 1.339 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3764, allocations: 27.92 kB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3764, allocations: 4 kB / 1.339 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.377, allocations: 111.7 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/0.377, allocations: 23.98 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,tunSta.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tunMan.greThr1.y,tunMan.edgTunEnd.u,$PRE.tunMan.edgTunEnd.u,tunMan.edgTunSta.u,$PRE.tunMan.edgTunSta.u,tunMan.tDec.y,tunMan.tInc.y,tunMan.samAddtOntOff.y,$PRE.tunMan.samAddtOntOff.y,tunMan.triEnd,tunMan.triSta,$whenCondition1,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 3 * 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.0002112/0.3772, allocations: 170.6 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.3773, allocations: 39.73 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/0.3778, allocations: 301.5 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3778, allocations: 4 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3778, allocations: 0 / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3778, allocations: 4 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3789, allocations: 0.7438 MB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3789, allocations: 0 / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/0.379, allocations: 23.92 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.379, allocations: 0 / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.379, allocations: 8 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.379, allocations: 4 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.379, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.3797, allocations: 392.1 kB / 1.341 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.3798, allocations: 51.72 kB / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3798, allocations: 11.98 kB / 1.341 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.38, allocations: 11.98 kB / 1.341 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.3801, allocations: 23.95 kB / 1.341 GB, free: 3.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3801, allocations: 16 kB / 1.341 GB, free: 3.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001907/0.3803, allocations: 177.2 kB / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 4 kB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005205/0.3808, allocations: 107.7 kB / 1.341 GB, free: 2.891 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: 23 (tunMan.triEnd,tunMan.greThr1.y,tunMan.triSta,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,tunMan.samAddtOntOff.y,tunMan.tInc.y,tunMan.tDec.y,tunMan.edgTunSta.u,tunMan.edgTunEnd.u,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y,tunSta.y,tunEnd.y) * Number of discrete states: 2 (tunMan.edgTunSta.u,tunMan.edgTunEnd.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009565/0.3818, allocations: 0.9393 MB / 1.342 GB, free: 1.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.3826, allocations: 493.9 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3826, allocations: 3.938 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.3828, allocations: 103.9 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.3833, allocations: 77.41 kB / 1.343 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.389, allocations: 3.396 MB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.3896, allocations: 0.784 MB / 1.347 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.3898, allocations: 34.95 kB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.39, allocations: 119.4 kB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of SimCode: time 3.236e-06/0.39, allocations: 7.938 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.4214, allocations: 7.814 MB / 1.354 GB, free: 5.148 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.15, allocations: 11.45 kB / 1.354 GB, free: 5.141 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.41842842299957] Failed to read output from testmodel.py, exit status != 0: 12.322228998003993 12.348611917 11.977204534 Calling exit ...