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.001381/0.001381, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001762/0.001762, allocations: 165 kB / 24.16 MB, free: 332 kB / 18.57 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.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.072/2.072, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.934e-05, allocations: 4.281 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.00475/0.00479, allocations: 2.312 MB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.006889, allocations: 0.9514 MB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.00718, allocations: 11.94 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.007391, allocations: 53.64 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.007577, allocations: 72.22 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.008638, allocations: 436.3 kB / 0.7638 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.009377, allocations: 0.6286 MB / 0.7644 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.009731, allocations: 186.5 kB / 0.7646 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.01015, allocations: 347.3 kB / 0.7649 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.01043, allocations: 163.5 kB / 0.7651 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.01053, allocations: 69.25 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.01069, allocations: 79.98 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.01077, allocations: 83.67 kB / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.01095, allocations: 179.6 kB / 0.7655 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.0116, allocations: 439.8 kB / 0.7659 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.0116, allocations: 0 / 0.7659 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.0116, allocations: 0 / 0.7659 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.01161, allocations: 1.031 kB / 0.7659 GB, free: 0.6055 MB / 0.7136 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.001021/0.01263, allocations: 0.669 MB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01268, allocations: 8.562 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.0128, allocations: 66.12 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.01315, allocations: 241.3 kB / 0.7668 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.01319, allocations: 40.95 kB / 0.7669 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.01323, allocations: 45.59 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.01346, allocations: 207.3 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01348, allocations: 4.125 kB / 0.7671 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.0135, allocations: 17.12 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.0135, allocations: 8.375 kB / 0.7672 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.0136, allocations: 81.23 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.01448, allocations: 0.5531 MB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01473, allocations: 144.7 kB / 0.7679 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.01482, allocations: 55.47 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01485, allocations: 8 kB / 0.768 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.01504, allocations: 168.4 kB / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.01504, allocations: 0 / 0.7681 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0002678/0.01531, allocations: 201.2 kB / 0.7683 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.01535, allocations: 55.41 kB / 0.7684 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.0155, allocations: 236.9 kB / 0.7686 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.01554, allocations: 41.7 kB / 0.7686 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.01564, allocations: 181.3 kB / 0.7688 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.01569, allocations: 87.34 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.01581, allocations: 104.9 kB / 0.769 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01591, allocations: 350.7 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01604, allocations: 161.8 kB / 0.7695 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.0162, allocations: 241.9 kB / 0.7697 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.01642, allocations: 279.6 kB / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01642, allocations: 0 / 0.77 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003844/0.01681, allocations: 473.7 kB / 0.7704 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.01687, allocations: 105.1 kB / 0.7705 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01688, allocations: 0 / 0.7705 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.0169, allocations: 4.781 kB / 0.7705 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01702, allocations: 35.92 kB / 0.7706 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01702, allocations: 8.438 kB / 0.7706 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.01722, allocations: 85.75 kB / 0.7707 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.01725, allocations: 15.98 kB / 0.7707 GB, free: 11.38 MB / 0.7292 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.0001204/0.01737, allocations: 150.8 kB / 0.7708 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.0174, allocations: 31.97 kB / 0.7709 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.01759, allocations: 168.6 kB / 0.771 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01759, allocations: 4 kB / 0.771 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01759, allocations: 2.812 kB / 0.771 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.0176, allocations: 0 / 0.771 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.01805, allocations: 430.7 kB / 0.7714 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01806, allocations: 3.984 kB / 0.7714 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.01812, allocations: 27.94 kB / 0.7715 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01812, allocations: 0 / 0.7715 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01813, allocations: 11.98 kB / 0.7715 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01813, allocations: 1.5 kB / 0.7715 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01814, allocations: 0 / 0.7715 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01832, allocations: 268.7 kB / 0.7717 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.01837, allocations: 35.73 kB / 0.7718 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.0184, allocations: 12.95 kB / 0.7718 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.01846, allocations: 11.98 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.01852, allocations: 28.48 kB / 0.7718 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01854, allocations: 8.594 kB / 0.7718 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.0186, allocations: 78.77 kB / 0.7719 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.0186, allocations: 4.656 kB / 0.7719 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002408/0.01884, allocations: 99.78 kB / 0.772 GB, free: 9.977 MB / 0.7292 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.0001351/0.01897, allocations: 102.4 kB / 0.7721 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.01934, allocations: 473.6 kB / 0.7725 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01935, allocations: 4 kB / 0.7726 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.01944, allocations: 84.69 kB / 0.7726 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.01973, allocations: 68.89 kB / 0.7727 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.02037, allocations: 0.5166 MB / 0.7732 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.02043, allocations: 99.12 kB / 0.7733 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.267e-05/0.02051, allocations: 33.72 kB / 0.7733 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.02071, allocations: 139.3 kB / 0.7735 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/0.02071, allocations: 0 / 0.7735 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of Templates: time 0.008282/0.02899, allocations: 5.786 MB / 0.7791 GB, free: 2.871 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.404949616640806]