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.001392/0.001392, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001812/0.001812, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.308/3.308, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.002108/0.002108, allocations: 67.89 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004068/0.409, allocations: 2.357 MB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.411, allocations: 0.9311 MB / 1.349 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.4113, allocations: 11.88 kB / 1.349 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.4116, allocations: 59.39 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.4117, allocations: 59.47 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4129, allocations: 449.5 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.4137, allocations: 0.6249 MB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.4141, allocations: 186.9 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.4144, allocations: 231.3 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.4148, allocations: 235.1 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.4149, allocations: 64 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.415, allocations: 83.98 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.4151, allocations: 95.56 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.4154, allocations: 247 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.4163, allocations: 0.728 MB / 1.352 GB, free: 10.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4163, allocations: 7.984 kB / 1.352 GB, free: 10.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4163, allocations: 0 / 1.352 GB, free: 10.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.4163, allocations: 0 / 1.352 GB, free: 10.11 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.001274/0.4176, allocations: 0.7016 MB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4176, allocations: 12.03 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/0.4176, allocations: 8.844 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.4177, allocations: 70.7 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4178, allocations: 56.66 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.4185, allocations: 301.5 kB / 1.353 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.4185, allocations: 33.03 kB / 1.353 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.4186, allocations: 56.34 kB / 1.353 GB, free: 8.793 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.4192, allocations: 278.3 kB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4192, allocations: 0 / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.4192, allocations: 19.98 kB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4193, allocations: 8 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.4196, allocations: 190.5 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.4214, allocations: 0.9835 MB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.4218, allocations: 204.8 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.422, allocations: 92.81 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.4221, allocations: 4 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.4224, allocations: 193.5 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.4224, allocations: 0 / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0006967/0.4231, allocations: 382.8 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.4231, allocations: 59.41 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.4234, allocations: 273.7 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.4235, allocations: 37.7 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.4237, allocations: 200.9 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.4238, allocations: 83.36 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.424, allocations: 110 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4242, allocations: 334.8 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.4245, allocations: 156.6 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.4249, allocations: 236.7 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.4254, allocations: 380 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4254, allocations: 0 / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000987/0.4264, allocations: 0.5684 MB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.4265, allocations: 105 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4265, allocations: 0 / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4265, allocations: 4 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4267, allocations: 31.92 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4267, allocations: 4 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.4272, allocations: 107.8 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.4273, allocations: 23.98 kB / 1.358 GB, free: 3.547 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.0002287/0.4275, allocations: 184.3 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.4276, allocations: 35.75 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.4281, allocations: 292.5 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4281, allocations: 8 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4281, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4281, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4293, allocations: 0.7449 MB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4293, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.4294, allocations: 27.92 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4294, allocations: 0 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.4294, allocations: 8 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4294, allocations: 8 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4294, allocations: 0 / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.4299, allocations: 388.1 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.43, allocations: 47.72 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.43, allocations: 11.98 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4302, allocations: 15.92 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.4302, allocations: 23.95 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.4303, allocations: 20 kB / 1.359 GB, free: 1.672 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002096/0.4305, allocations: 185.2 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4305, allocations: 0 / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004102/0.4309, allocations: 99.78 kB / 1.36 GB, free: 1.395 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.0008961/0.4318, allocations: 0.9391 MB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.4326, allocations: 489.9 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4326, allocations: 0 / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.4327, allocations: 107.8 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.4333, allocations: 80.8 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.4381, allocations: 3.399 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.4386, allocations: 0.784 MB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.4387, allocations: 38.95 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4389, allocations: 123.4 kB / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of SimCode: time 1.213e-06/0.4389, allocations: 0 / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.4733, allocations: 7.809 MB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.25, allocations: 4.062 kB / 1.373 GB, free: 3.633 MB / 1.061 GB " [Timeout remaining time 288] (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.302205307991244] Failed to read output from testmodel.py, exit status != 0: 12.430898791004438 12.451837529 12.029888819 Calling exit ...