Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001298/0.001298, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001473/0.001473, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.51/1.51, 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.316/3.316, 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.BaseClasses.Validation.TuningMonitor,fileNamePrefix="Buildings_latest_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_latest_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: 66.05 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003826/0.3734, allocations: 2.196 MB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3751, allocations: 0.9117 MB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3754, allocations: 11.94 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3756, allocations: 51.39 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3757, allocations: 63.45 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3768, allocations: 453 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006921/0.3775, allocations: 0.6248 MB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.3779, allocations: 190.9 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3781, allocations: 231.3 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.3784, allocations: 227 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3785, allocations: 71.98 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.3787, allocations: 79.98 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.3788, allocations: 91.64 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.379, allocations: 207.2 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.3798, allocations: 0.7358 MB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3798, allocations: 4 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3798, allocations: 0 / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.3798, allocations: 0 / 1.351 GB, free: 9.805 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001322/0.3812, allocations: 0.6978 MB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3812, allocations: 12.03 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.054e-05/0.3812, allocations: 8.844 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.799e-05/0.3813, allocations: 66.72 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3815, allocations: 60.58 kB / 1.352 GB, free: 8.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.3821, allocations: 301.5 kB / 1.352 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.3821, allocations: 37.02 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/0.3822, allocations: 44.38 kB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.3828, allocations: 278.4 kB / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3828, allocations: 0 / 1.353 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.3829, allocations: 19.94 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3829, allocations: 8 kB / 1.353 GB, free: 8.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.3832, allocations: 198.5 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3848, allocations: 0.851 MB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.3852, allocations: 203.1 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3854, allocations: 96.81 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3854, allocations: 4 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.3858, allocations: 201.4 kB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3858, allocations: 0 / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0006994/0.3865, allocations: 386.8 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.3865, allocations: 55.41 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.3868, allocations: 265.8 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.3869, allocations: 41.69 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3871, allocations: 200.9 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/0.3872, allocations: 83.36 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3874, allocations: 110 kB / 1.355 GB, free: 5.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3876, allocations: 338.8 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.388, allocations: 261.7 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.3884, allocations: 321.9 kB / 1.356 GB, free: 4.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.389, allocations: 376.1 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.389, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001001/0.39, allocations: 0.6631 MB / 1.357 GB, free: 3.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3901, allocations: 109 kB / 1.357 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3901, allocations: 4 kB / 1.357 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3902, allocations: 4 kB / 1.357 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3903, allocations: 31.92 kB / 1.357 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3903, allocations: 4 kB / 1.357 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.3908, allocations: 99.94 kB / 1.357 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.3909, allocations: 23.98 kB / 1.357 GB, free: 3.035 MB / 1.045 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.0002206/0.3911, allocations: 180.3 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.3911, allocations: 35.75 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.3917, allocations: 304.4 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3917, allocations: 4 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3917, allocations: 0 / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3917, allocations: 0 / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3928, allocations: 0.7138 MB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3928, allocations: 0 / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.3929, allocations: 23.92 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3929, allocations: 4 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3929, allocations: 7.984 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3929, allocations: 8 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3929, allocations: 0 / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.3934, allocations: 396 kB / 1.359 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.3935, allocations: 51.72 kB / 1.359 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.3935, allocations: 4 kB / 1.359 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3937, allocations: 15.98 kB / 1.359 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.3938, allocations: 27.95 kB / 1.359 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3938, allocations: 12 kB / 1.359 GB, free: 1.188 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002201/0.394, allocations: 181.2 kB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.394, allocations: 0 / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004281/0.3944, allocations: 103.8 kB / 1.359 GB, free: 0.9102 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: 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.0009563/0.3954, allocations: 0.9391 MB / 1.36 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008933/0.3963, allocations: 0.5732 MB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3963, allocations: 0 / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3965, allocations: 115.8 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.397, allocations: 74.09 kB / 1.361 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.4022, allocations: 3.794 MB / 1.365 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.4024, allocations: 183.2 kB / 1.365 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.4026, allocations: 38.94 kB / 1.365 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.4028, allocations: 115.4 kB / 1.365 GB, free: 10.77 MB / 1.061 GB Notification: Performance of SimCode: time 9.92e-07/0.4028, allocations: 0 / 1.365 GB, free: 10.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.4366, allocations: 8.201 MB / 1.373 GB, free: 2.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.48, allocations: 6.859 kB / 1.373 GB, free: 2.836 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.53007803997025] Failed to read output from testmodel.py, exit status != 0: 12.65387187898159 12.674219343 12.291085452 Calling exit ...