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.001821/0.001821, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002198/0.002198, allocations: 222.1 kB / 23 MB, free: 4.914 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.104/3.104, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.002052/0.002052, allocations: 62.34 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003718/0.3165, allocations: 2.21 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3182, allocations: 0.9078 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.3185, allocations: 15.94 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3187, allocations: 55.33 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3188, allocations: 63.44 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3199, allocations: 449.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007022/0.3206, allocations: 0.6249 MB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.3209, allocations: 167.1 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.3212, allocations: 239.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.3215, allocations: 199 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3216, allocations: 64 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3218, allocations: 83.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.3219, allocations: 87.69 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.3221, allocations: 207.1 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.3229, allocations: 0.7395 MB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3229, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3229, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.3229, allocations: 0 / 1.332 GB, free: 11.81 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.001175/0.3241, allocations: 0.7094 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3241, allocations: 8.031 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.3242, allocations: 52.66 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.3248, allocations: 301.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.3249, allocations: 29.03 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.3249, allocations: 48.36 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3254, allocations: 274.6 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3254, allocations: 4.188 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3255, allocations: 23.92 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3255, allocations: 8 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.3258, allocations: 190.5 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.3273, allocations: 0.7891 MB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.3277, allocations: 203.9 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3279, allocations: 108.7 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3279, allocations: 0 / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.3283, allocations: 201.5 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.3283, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0006882/0.3289, allocations: 378.9 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.329, allocations: 63.28 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.3293, allocations: 265.8 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.3294, allocations: 45.7 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3295, allocations: 188.9 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.3296, allocations: 87.33 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3298, allocations: 106 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.33, allocations: 342.8 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.3304, allocations: 245.7 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.3308, allocations: 325.9 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.3313, allocations: 381 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3314, allocations: 3.938 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00104/0.3324, allocations: 0.6481 MB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.3325, allocations: 103.3 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3325, allocations: 8.234 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.3325, allocations: 8 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3327, allocations: 35.86 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3327, allocations: 7.938 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.3332, allocations: 99.67 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.3333, allocations: 27.98 kB / 1.338 GB, free: 5.211 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.0002462/0.3335, allocations: 172.4 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.3336, allocations: 31.8 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.3341, allocations: 296.5 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.3341, allocations: 11.92 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3341, allocations: 0 / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3341, allocations: 0 / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3352, allocations: 0.6636 MB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.3352, allocations: 7.938 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.3353, allocations: 16 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3353, allocations: 3.984 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3353, allocations: 8 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3353, allocations: 0 / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3353, allocations: 4 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.3358, allocations: 388.1 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3359, allocations: 55.66 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.336, allocations: 8 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3361, allocations: 15.98 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.3362, allocations: 27.89 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3362, allocations: 15.98 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001749/0.3364, allocations: 177.2 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3364, allocations: 0 / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004354/0.3368, allocations: 99.78 kB / 1.34 GB, free: 3.168 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.0002121/0.337, allocations: 119.4 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.3379, allocations: 0.5772 MB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3379, allocations: 0 / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3381, allocations: 124.3 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.3385, allocations: 60.83 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3396, allocations: 0.5889 MB / 1.342 GB, free: 1.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3398, allocations: 187.2 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.3398, allocations: 31.38 kB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3398, allocations: 0 / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of Templates: time 0.00804/0.3479, allocations: 4.769 MB / 1.347 GB, free: 12.64 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.335747207980603]