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.001327/0.001327, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001521/0.001521, allocations: 210.5 kB / 22.99 MB, free: 4.41 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.441/1.441, 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 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|tunSta.y|tunEnd.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor") [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.002026/0.002026, allocations: 70.61 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003717/0.3288, allocations: 2.201 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3304, allocations: 0.9195 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3306, allocations: 15.88 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3308, allocations: 47.41 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3309, allocations: 59.45 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.332, allocations: 449 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000685/0.3326, allocations: 0.6326 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.333, allocations: 179.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.3332, allocations: 235.3 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3335, allocations: 231.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.33e-05/0.3336, allocations: 68 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3338, allocations: 75.98 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3339, allocations: 91.64 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3341, allocations: 207.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.3349, allocations: 0.7395 MB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3349, allocations: 0 / 1.333 GB, free: 10.87 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.001137/0.336, allocations: 0.6978 MB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3361, allocations: 8.031 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3362, allocations: 52.66 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.3368, allocations: 313.4 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.3368, allocations: 33.02 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.3369, allocations: 44.38 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.3374, allocations: 278.6 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3374, allocations: 8.109 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3374, allocations: 15.94 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3374, allocations: 8 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3378, allocations: 194.5 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3392, allocations: 0.793 MB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.3396, allocations: 199.1 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3399, allocations: 96.81 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3399, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.3402, allocations: 201.5 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.3402, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007935/0.341, allocations: 386.8 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3411, allocations: 63.28 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3413, allocations: 265.8 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.3414, allocations: 41.7 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3416, allocations: 188.9 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/0.3417, allocations: 83.33 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.3419, allocations: 114 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3421, allocations: 338.8 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.3425, allocations: 253.7 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.343, allocations: 329.8 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.3435, allocations: 373 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3435, allocations: 4 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001012/0.3445, allocations: 0.6598 MB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.3446, allocations: 97.09 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3446, allocations: 4 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3446, allocations: 4 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3447, allocations: 35.86 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3447, allocations: 11.92 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.3453, allocations: 99.94 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.3453, allocations: 23.98 kB / 1.339 GB, free: 4.27 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.0002105/0.3456, allocations: 180.4 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.3456, allocations: 27.81 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.3461, allocations: 308.4 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.3461, allocations: 7.938 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3461, allocations: 0 / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3461, allocations: 0 / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3472, allocations: 0.6558 MB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3472, allocations: 3.938 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.3473, allocations: 23.92 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3473, allocations: 0 / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3473, allocations: 8 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3473, allocations: 8 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3473, allocations: 0 / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.3478, allocations: 384.2 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3479, allocations: 51.66 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.3479, allocations: 15.98 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3481, allocations: 4 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.3482, allocations: 27.95 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3482, allocations: 11.98 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002311/0.3484, allocations: 177.2 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 0 / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004034/0.3488, allocations: 107.8 kB / 1.341 GB, free: 2.227 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.0002227/0.349, allocations: 119.4 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008219/0.3499, allocations: 0.5771 MB / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3499, allocations: 0 / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3501, allocations: 116.4 kB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3506, allocations: 72.89 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3516, allocations: 0.5849 MB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3518, allocations: 187.2 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.3519, allocations: 27.44 kB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3519, allocations: 0 / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of Templates: time 0.008098/0.36, allocations: 4.771 MB / 1.347 GB, free: 11.7 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.342797068005893]