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.001917/0.001917, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002496/0.002496, allocations: 160.7 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.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 2.967/2.967, allocations: 377.9 MB / 0.6228 GB, free: 12.65 MB / 0.5919 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.002051/0.002051, allocations: 67.89 kB / 0.982 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003396/1.059, allocations: 2.207 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001352/1.061, allocations: 0.9033 MB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/1.061, allocations: 13.72 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/1.061, allocations: 52.27 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/1.061, allocations: 63.94 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/1.062, allocations: 448.6 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/1.063, allocations: 0.6209 MB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/1.063, allocations: 178.5 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/1.063, allocations: 233.2 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/1.063, allocations: 199.2 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.6e-05/1.064, allocations: 67.28 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/1.064, allocations: 78.19 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/1.064, allocations: 95.7 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/1.064, allocations: 208.9 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/1.064, allocations: 0.739 MB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.064, allocations: 0 / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.933e-06/1.065, allocations: 0 / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.138e-06/1.065, allocations: 0 / 1.16 GB, free: 29.72 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.0009737/1.065, allocations: 0.7 MB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.066, allocations: 14.78 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/1.066, allocations: 50.28 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/1.066, allocations: 302.6 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/1.066, allocations: 30.62 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/1.066, allocations: 47.84 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/1.067, allocations: 283.6 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.067, allocations: 4.188 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/1.067, allocations: 18.16 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.067, allocations: 8.5 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/1.067, allocations: 190 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/1.068, allocations: 0.7976 MB / 1.162 GB, free: 28.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/1.068, allocations: 200.3 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/1.069, allocations: 92.3 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/1.069, allocations: 6.219 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/1.069, allocations: 206 kB / 1.163 GB, free: 27.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/1.069, allocations: 0 / 1.163 GB, free: 27.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.0005987/1.069, allocations: 375.8 kB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.07, allocations: 65.44 kB / 1.163 GB, free: 27.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/1.07, allocations: 255.7 kB / 1.163 GB, free: 27.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/1.07, allocations: 45.89 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.07, allocations: 201.1 kB / 1.164 GB, free: 27.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/1.07, allocations: 89.23 kB / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.07, allocations: 105.5 kB / 1.164 GB, free: 27.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/1.07, allocations: 342.6 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/1.07, allocations: 250.6 kB / 1.164 GB, free: 26.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/1.071, allocations: 325.7 kB / 1.165 GB, free: 26.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/1.071, allocations: 377.8 kB / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.071, allocations: 2.781 kB / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007853/1.072, allocations: 0.6529 MB / 1.166 GB, free: 25.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/1.072, allocations: 103.8 kB / 1.166 GB, free: 25.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.072, allocations: 7.984 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.072, allocations: 5.438 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.072, allocations: 30.27 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.072, allocations: 5.781 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/1.073, allocations: 97.92 kB / 1.166 GB, free: 25.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/1.073, allocations: 29.09 kB / 1.166 GB, free: 25.68 MB / 1.076 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.0001515/1.073, allocations: 174.1 kB / 1.166 GB, free: 25.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/1.073, allocations: 27.69 kB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/1.073, allocations: 300.1 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.073, allocations: 6.688 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.073, allocations: 0 / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.073, allocations: 6.297 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/1.074, allocations: 0.653 MB / 1.167 GB, free: 24.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.074, allocations: 3.938 kB / 1.167 GB, free: 24.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/1.074, allocations: 26.8 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.074, allocations: 2.938 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.074, allocations: 6.812 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.074, allocations: 4 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.074, allocations: 3.094 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/1.075, allocations: 392.7 kB / 1.167 GB, free: 24.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/1.075, allocations: 49.64 kB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/1.075, allocations: 7.031 kB / 1.168 GB, free: 24.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/1.075, allocations: 13.83 kB / 1.168 GB, free: 24.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/1.075, allocations: 31.56 kB / 1.168 GB, free: 24.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/1.075, allocations: 16.2 kB / 1.168 GB, free: 24.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001288/1.075, allocations: 173.4 kB / 1.168 GB, free: 24.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.075, allocations: 2.625 kB / 1.168 GB, free: 24.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000362/1.075, allocations: 101.2 kB / 1.168 GB, free: 24.54 MB / 1.076 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.0001513/1.076, allocations: 120.8 kB / 1.168 GB, free: 24.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006126/1.076, allocations: 0.5818 MB / 1.169 GB, free: 24.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.076, allocations: 4 kB / 1.169 GB, free: 24.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.076, allocations: 107.5 kB / 1.169 GB, free: 23.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/1.077, allocations: 68.47 kB / 1.169 GB, free: 23.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/1.078, allocations: 0.5617 MB / 1.169 GB, free: 23.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/1.078, allocations: 186.3 kB / 1.169 GB, free: 23.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.395e-05/1.078, allocations: 35.97 kB / 1.169 GB, free: 23.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/1.078, allocations: 30.16 kB / 1.17 GB, free: 23.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.078, allocations: 0 / 1.17 GB, free: 23.5 MB / 1.076 GB Notification: Performance of Templates: time 0.01154/1.09, allocations: 5.342 MB / 1.175 GB, free: 22.88 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.418117127963342]