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.0009291/0.0009291, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009628/0.0009628, allocations: 161 kB / 24.17 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 0.9846/0.9846, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 1.986/1.986, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.734e-06/1.734e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.164e-05, allocations: 2.812 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002615/0.002637, allocations: 2.278 MB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.004081, allocations: 0.946 MB / 0.7632 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.004275, allocations: 13.25 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.004436, allocations: 50.58 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.004566, allocations: 69.8 kB / 0.7633 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.005603, allocations: 439 kB / 0.7637 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.006175, allocations: 0.6292 MB / 0.7643 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.006442, allocations: 185.6 kB / 0.7645 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.006767, allocations: 340.4 kB / 0.7649 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.006964, allocations: 167.4 kB / 0.765 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.007026, allocations: 65.03 kB / 0.7651 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.007134, allocations: 87.91 kB / 0.7652 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.007194, allocations: 91.67 kB / 0.7652 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.007319, allocations: 180.2 kB / 0.7654 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.007714, allocations: 438.6 kB / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007716, allocations: 1.781 kB / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.007716, allocations: 0 / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.007722, allocations: 0 / 0.7658 GB, free: 0.7031 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.0006913/0.008413, allocations: 0.6612 MB / 0.7665 GB, free: 16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.008448, allocations: 9.094 kB / 0.7665 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.008532, allocations: 68.88 kB / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.008822, allocations: 242.7 kB / 0.7668 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.008856, allocations: 37.02 kB / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.008898, allocations: 40.38 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.009109, allocations: 212 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009119, allocations: 192 / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.009137, allocations: 17.11 kB / 0.7671 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.009146, allocations: 8.375 kB / 0.7671 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.009232, allocations: 77 kB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.009963, allocations: 0.5612 MB / 0.7677 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.01017, allocations: 133.8 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.01025, allocations: 56.81 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01026, allocations: 7.984 kB / 0.7679 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.01042, allocations: 166.5 kB / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.01042, allocations: 0 / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0002404/0.01066, allocations: 201.1 kB / 0.7682 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.0107, allocations: 56.34 kB / 0.7683 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.01083, allocations: 240.9 kB / 0.7685 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.01087, allocations: 40.05 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.01096, allocations: 185.3 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.011, allocations: 83.36 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01111, allocations: 97.94 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.01119, allocations: 350.7 kB / 0.7693 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01133, allocations: 161.8 kB / 0.7694 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.01148, allocations: 248.6 kB / 0.7696 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01168, allocations: 287.4 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01168, allocations: 0 / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003585/0.01204, allocations: 468.9 kB / 0.7704 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.01237, allocations: 101.1 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01238, allocations: 4 kB / 0.7705 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01239, allocations: 0.5 kB / 0.7705 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.01247, allocations: 39.36 kB / 0.7705 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01247, allocations: 7.984 kB / 0.7705 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.01266, allocations: 79.72 kB / 0.7706 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.01269, allocations: 19.98 kB / 0.7706 GB, free: 11.49 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.0001111/0.0128, allocations: 154.8 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.01283, allocations: 27.97 kB / 0.7708 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.01301, allocations: 172.5 kB / 0.7709 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01301, allocations: 4 kB / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01301, allocations: 0 / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01302, allocations: 4.797 kB / 0.771 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.01346, allocations: 430.7 kB / 0.7714 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01346, allocations: 5.219 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.01351, allocations: 15.94 kB / 0.7714 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01352, allocations: 7.984 kB / 0.7714 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01353, allocations: 4.812 kB / 0.7714 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01353, allocations: 4 kB / 0.7714 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01353, allocations: 3.812 kB / 0.7714 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.0137, allocations: 256.8 kB / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.01374, allocations: 39.67 kB / 0.7717 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.01377, allocations: 8 kB / 0.7717 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.01383, allocations: 11.98 kB / 0.7717 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.01388, allocations: 31.89 kB / 0.7717 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01389, allocations: 7.938 kB / 0.7717 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.01395, allocations: 78.77 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01395, allocations: 0 / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002423/0.0142, allocations: 99.78 kB / 0.7719 GB, free: 10.1 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.0001372/0.01433, allocations: 107.5 kB / 0.772 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.01469, allocations: 475.8 kB / 0.7725 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.01469, allocations: 3.375 kB / 0.7725 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.01477, allocations: 80.77 kB / 0.7726 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01503, allocations: 73.31 kB / 0.7726 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.01564, allocations: 0.5204 MB / 0.7731 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.01569, allocations: 93.36 kB / 0.7732 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.093e-05/0.01577, allocations: 36.14 kB / 0.7733 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.01597, allocations: 137 kB / 0.7734 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of SimCode: time 7.92e-07/0.01597, allocations: 0 / 0.7734 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.008651/0.02462, allocations: 5.786 MB / 0.779 GB, free: 3 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 -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.2462630732916296]