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.001551/0.001551, allocations: 93.92 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.001543/0.001543, allocations: 217.2 kB / 23.03 MB, free: 4.953 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002107/0.002107, allocations: 69.11 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3831, allocations: 176.1 MB / 1.327 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004123/0.3872, allocations: 2.199 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.389, allocations: 0.9156 MB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3893, allocations: 11.94 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.3895, allocations: 55.33 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3897, allocations: 59.47 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3909, allocations: 446.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.3917, allocations: 0.6248 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.3921, allocations: 195.1 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3924, allocations: 231.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.3927, allocations: 227 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/0.3928, allocations: 71.94 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3929, allocations: 79.98 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.393, allocations: 91.69 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3932, allocations: 211.1 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.394, allocations: 0.7319 MB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.394, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.394, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3941, allocations: 0 / 1.333 GB, free: 11.43 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.001174/0.3952, allocations: 0.7017 MB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.3953, allocations: 12.03 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.462e-05/0.3953, allocations: 8.844 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.459e-05/0.3954, allocations: 70.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3955, allocations: 52.66 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.3961, allocations: 301.5 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.3961, allocations: 37.03 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.3962, allocations: 48.36 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.3968, allocations: 274.4 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3968, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.3968, allocations: 23.92 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3968, allocations: 11.94 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.3972, allocations: 194.5 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3987, allocations: 0.8471 MB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.3991, allocations: 203.1 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3994, allocations: 98.84 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3994, allocations: 4 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.3998, allocations: 193.5 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.3998, allocations: 0 / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007745/0.4005, allocations: 390.8 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4006, allocations: 59.39 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4009, allocations: 269.8 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.401, allocations: 37.7 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4012, allocations: 200.9 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.4012, allocations: 83.33 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.4014, allocations: 114 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4016, allocations: 334.8 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.402, allocations: 253.7 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.4024, allocations: 333.8 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.4029, allocations: 373 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4029, allocations: 0 / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001021/0.4039, allocations: 0.6638 MB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.404, allocations: 105 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.404, allocations: 4 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.404, allocations: 4 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4042, allocations: 31.92 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4042, allocations: 4 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.4048, allocations: 103.8 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.4048, allocations: 23.98 kB / 1.339 GB, free: 4.664 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.0002452/0.4051, allocations: 176.4 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.4051, allocations: 31.75 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.4057, allocations: 313.5 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4057, allocations: 4 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4057, allocations: 0 / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4057, allocations: 4 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4067, allocations: 0.7127 MB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4068, allocations: 0 / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.4068, allocations: 23.92 kB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4069, allocations: 4 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4069, allocations: 8 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4069, allocations: 0 / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4069, allocations: 0 / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.4074, allocations: 392.1 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.4075, allocations: 55.72 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.4076, allocations: 7.984 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4077, allocations: 8 kB / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.4078, allocations: 31.94 kB / 1.341 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.4078, allocations: 12 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002144/0.408, allocations: 177.2 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.408, allocations: 0 / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004329/0.4084, allocations: 107.7 kB / 1.341 GB, free: 2.539 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.000878/0.4093, allocations: 0.9471 MB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.4102, allocations: 0.5771 MB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4102, allocations: 0 / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.4104, allocations: 107.9 kB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.4109, allocations: 80.8 kB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.416, allocations: 3.787 MB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.4162, allocations: 187.2 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.4163, allocations: 30.97 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.4165, allocations: 123.3 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of SimCode: time 1.182e-06/0.4165, allocations: 0 / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4477, allocations: 8.202 MB / 1.355 GB, free: 4.492 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.34, allocations: 6.094 kB / 1.355 GB, free: 4.488 MB / 1.045 GB " [Timeout remaining time 287] (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.28547488991171] Failed to read output from testmodel.py, exit status != 0: 12.512219172087498 12.539282051 12.140195959 Calling exit ...