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.001876/0.001876, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.002492/0.002492, allocations: 215 kB / 20.13 MB, free: 2.949 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.022/3.022, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.003213/0.003213, allocations: 67.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9203, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002843/0.9232, allocations: 2.357 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.9244, allocations: 0.9288 MB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.9246, allocations: 13.66 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.9248, allocations: 56.22 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.9249, allocations: 58.41 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.9258, allocations: 450.4 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.9263, allocations: 0.6285 MB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.9265, allocations: 181.7 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.9267, allocations: 230.2 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.9269, allocations: 234.1 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.276e-05/0.927, allocations: 72.06 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.9271, allocations: 78.45 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.9272, allocations: 89.56 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.9273, allocations: 248.3 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.928, allocations: 0.7297 MB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.928, allocations: 0 / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.928, allocations: 3.938 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.928, allocations: 1.062 kB / 1.328 GB, free: 20.91 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001094/0.9291, allocations: 0.7822 MB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.9291, allocations: 13.3 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.839e-05/0.9292, allocations: 12.44 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.9292, allocations: 67.16 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.9294, allocations: 52.23 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.9299, allocations: 362.1 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.93, allocations: 36.47 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.9301, allocations: 42.48 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.9306, allocations: 287.6 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9306, allocations: 0 / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.9306, allocations: 13.56 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.9306, allocations: 7.5 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.931, allocations: 197.5 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.9324, allocations: 1.02 MB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.9329, allocations: 204.7 kB / 1.331 GB, free: 18.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.9331, allocations: 101.9 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.9331, allocations: 3.531 kB / 1.331 GB, free: 18.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.9334, allocations: 196.2 kB / 1.331 GB, free: 18.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.9334, allocations: 0 / 1.331 GB, free: 18.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0006643/0.9341, allocations: 378.8 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.9341, allocations: 65.16 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.9344, allocations: 265.9 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.9344, allocations: 42.91 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.9345, allocations: 201.3 kB / 1.332 GB, free: 18.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.9346, allocations: 85.3 kB / 1.332 GB, free: 18.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.9348, allocations: 108.3 kB / 1.332 GB, free: 18.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.9348, allocations: 343.3 kB / 1.332 GB, free: 17.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.9351, allocations: 157.8 kB / 1.333 GB, free: 17.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.9355, allocations: 228.7 kB / 1.333 GB, free: 17.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.9359, allocations: 363 kB / 1.333 GB, free: 17.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9359, allocations: 0 / 1.333 GB, free: 17.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008601/0.9367, allocations: 0.5665 MB / 1.334 GB, free: 16.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.9368, allocations: 111.6 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.9368, allocations: 1.344 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.9368, allocations: 4.969 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.9369, allocations: 31.52 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.9369, allocations: 8.719 kB / 1.334 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.9375, allocations: 103.3 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.9375, allocations: 22.72 kB / 1.334 GB, free: 16.83 MB / 1.061 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.0001541/0.9377, allocations: 176.2 kB / 1.334 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.9377, allocations: 38.09 kB / 1.334 GB, free: 16.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.9382, allocations: 292.9 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9382, allocations: 7.406 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9382, allocations: 0.5625 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.9382, allocations: 2.609 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9393, allocations: 0.7703 MB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9393, allocations: 0.5 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.9394, allocations: 23.84 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9394, allocations: 1.188 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.9394, allocations: 8.5 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9394, allocations: 6.344 kB / 1.335 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9394, allocations: 0.5 kB / 1.335 GB, free: 16.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.94, allocations: 393.8 kB / 1.336 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.9401, allocations: 120.2 kB / 1.336 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.9401, allocations: 8.281 kB / 1.336 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9403, allocations: 10.92 kB / 1.336 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.9404, allocations: 32.5 kB / 1.336 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.9404, allocations: 15 kB / 1.336 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002194/0.9406, allocations: 183.2 kB / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9406, allocations: 0 / 1.336 GB, free: 15.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004812/0.9411, allocations: 105.4 kB / 1.336 GB, free: 15.5 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: 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.0006481/0.9418, allocations: 0.9501 MB / 1.337 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006329/0.9424, allocations: 485.6 kB / 1.337 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9424, allocations: 0 / 1.337 GB, free: 14.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.9426, allocations: 124.9 kB / 1.338 GB, free: 14.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.9431, allocations: 73.25 kB / 1.338 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.9472, allocations: 3.387 MB / 1.341 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.9475, allocations: 0.7863 MB / 1.342 GB, free: 11.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.9476, allocations: 36.73 kB / 1.342 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.9478, allocations: 120.7 kB / 1.342 GB, free: 11.3 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.9478, allocations: 1.188 kB / 1.342 GB, free: 11.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.976, allocations: 7.573 MB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/10.08, allocations: 23.47 kB / 1.349 GB, free: 10.55 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.616542439034674] Failed to read output from testmodel.py, exit status != 0: 10.217146039998624 10.238114426 9.306037146 Calling exit ...