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.001376/0.001376, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001437/0.001437, allocations: 156.2 kB / 23.01 MB, free: 4.602 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.615/1.615, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.037/3.037, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 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: 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_latest_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_latest_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.002242/0.002242, allocations: 63.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003064/1.061, allocations: 2.211 MB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001334/1.062, allocations: 0.9043 MB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/1.063, allocations: 11.06 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/1.063, allocations: 55.22 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/1.063, allocations: 70.36 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/1.064, allocations: 440.7 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005614/1.064, allocations: 0.6232 MB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/1.065, allocations: 176.5 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/1.065, allocations: 230.4 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/1.065, allocations: 197.2 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/1.065, allocations: 74.78 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/1.065, allocations: 84.11 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/1.065, allocations: 87.03 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/1.066, allocations: 210.6 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000837/1.066, allocations: 0.7295 MB / 1.193 GB, free: 12.6 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.066, allocations: 0 / 1.193 GB, free: 12.6 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.243e-06/1.066, allocations: 0 / 1.193 GB, free: 12.6 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.066, allocations: 1.125 kB / 1.193 GB, free: 12.6 MB / 1.076 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.0009448/1.067, allocations: 0.694 MB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/1.067, allocations: 14.56 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/1.067, allocations: 52.56 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/1.068, allocations: 299.7 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.068, allocations: 37.58 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/1.068, allocations: 46.3 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/1.069, allocations: 271.6 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.069, allocations: 192 / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/1.069, allocations: 21.59 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.069, allocations: 15.56 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/1.069, allocations: 190.9 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.07, allocations: 0.8095 MB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/1.071, allocations: 208.8 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/1.071, allocations: 100.7 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.071, allocations: 3.953 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/1.071, allocations: 214.2 kB / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/1.071, allocations: 0 / 1.195 GB, free: 10.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=36): time 0.0006404/1.072, allocations: 376.7 kB / 1.196 GB, free: 10.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/1.072, allocations: 66.88 kB / 1.196 GB, free: 10.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/1.072, allocations: 264 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/1.072, allocations: 42.58 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.072, allocations: 201.1 kB / 1.196 GB, free: 10.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/1.072, allocations: 91.58 kB / 1.196 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.072, allocations: 113.5 kB / 1.197 GB, free: 10.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/1.072, allocations: 338.8 kB / 1.197 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/1.073, allocations: 260 kB / 1.197 GB, free: 9.613 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/1.073, allocations: 323.9 kB / 1.197 GB, free: 9.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/1.074, allocations: 385.7 kB / 1.198 GB, free: 9.102 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.074, allocations: 0 / 1.198 GB, free: 9.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009149/1.074, allocations: 0.6793 MB / 1.198 GB, free: 8.688 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/1.075, allocations: 101.2 kB / 1.199 GB, free: 8.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.075, allocations: 5.594 kB / 1.199 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.075, allocations: 7.5 kB / 1.199 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.075, allocations: 37.77 kB / 1.199 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/1.075, allocations: 8.234 kB / 1.199 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/1.075, allocations: 94.11 kB / 1.199 GB, free: 8.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/1.075, allocations: 27.94 kB / 1.199 GB, free: 8.543 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,$PRE.tunEnd.y,tunEnd.clr,tunEnd.u,tunSta.y,$PRE.tunSta.y,tunSta.clr,tunSta.u,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,$whenCondition1,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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.0001546/1.075, allocations: 179.7 kB / 1.199 GB, free: 8.391 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/1.075, allocations: 33.08 kB / 1.199 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/1.076, allocations: 322.6 kB / 1.199 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.076, allocations: 2.969 kB / 1.199 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.076, allocations: 9.828 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.076, allocations: 1.5 kB / 1.199 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/1.077, allocations: 0.6907 MB / 1.2 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.077, allocations: 5.25 kB / 1.2 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/1.077, allocations: 24.2 kB / 1.2 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.077, allocations: 2.156 kB / 1.2 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/1.077, allocations: 9.156 kB / 1.2 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.077, allocations: 2.188 kB / 1.2 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.077, allocations: 1.094 kB / 1.2 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/1.077, allocations: 399.8 kB / 1.2 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/1.078, allocations: 52.34 kB / 1.2 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/1.078, allocations: 8.656 kB / 1.2 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/1.078, allocations: 18.66 kB / 1.2 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/1.078, allocations: 32.34 kB / 1.2 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/1.078, allocations: 11.31 kB / 1.2 GB, free: 7.469 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001435/1.078, allocations: 174 kB / 1.201 GB, free: 7.363 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.078, allocations: 1.125 kB / 1.201 GB, free: 7.363 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004023/1.078, allocations: 106 kB / 1.201 GB, free: 7.336 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 26 (tunEnd.u,tunMan.greThr1.y,tunSta.u,$whenCondition11,$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,tunSta.clr,tunEnd.clr) * 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 (36): * Single equations (assignments): 30 * 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.0001469/1.079, allocations: 117.8 kB / 1.201 GB, free: 7.238 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006764/1.079, allocations: 0.5934 MB / 1.201 GB, free: 6.816 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.079, allocations: 1.562 kB / 1.201 GB, free: 6.816 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/1.079, allocations: 118.7 kB / 1.202 GB, free: 6.777 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/1.08, allocations: 88.69 kB / 1.202 GB, free: 6.738 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/1.081, allocations: 0.5796 MB / 1.202 GB, free: 6.363 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/1.081, allocations: 184.3 kB / 1.202 GB, free: 6.273 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001118/1.081, allocations: 41.05 kB / 1.202 GB, free: 6.262 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/1.081, allocations: 29.2 kB / 1.202 GB, free: 6.254 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.081, allocations: 1.531 kB / 1.202 GB, free: 6.254 MB / 1.076 GB Notification: Performance of Templates: time 0.0118/1.093, allocations: 5.389 MB / 1.208 GB, free: 5.617 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.724640512024052]