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.0009442/0.0009442, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008247/0.0008247, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.8811/0.8811, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.693e-06/1.693e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.026e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.00265/0.002671, allocations: 2.205 MB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.00378, allocations: 0.9225 MB / 0.9853 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.003916, allocations: 11.94 kB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.004073, allocations: 51.34 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004175, allocations: 67.39 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.004877, allocations: 466.8 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.005322, allocations: 0.6326 MB / 0.9865 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.005588, allocations: 171.2 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.005829, allocations: 343.4 kB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.006005, allocations: 167.5 kB / 0.9871 GB, free: 13.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.006062, allocations: 64 kB / 0.9872 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.00615, allocations: 83.94 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.00621, allocations: 95.66 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.00634, allocations: 179.6 kB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.006938, allocations: 0.7906 MB / 0.9883 GB, free: 11.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00694, allocations: 0 / 0.9883 GB, free: 11.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.006943, allocations: 0 / 0.9883 GB, free: 11.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.00695, allocations: 4 kB / 0.9883 GB, free: 11.83 MB / 0.948 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.0007826/0.007733, allocations: 0.6939 MB / 0.989 GB, free: 11.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.007772, allocations: 8.031 kB / 0.989 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.007852, allocations: 56.66 kB / 0.989 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.008211, allocations: 301.2 kB / 0.9893 GB, free: 10.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.008241, allocations: 36.97 kB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.008289, allocations: 44.36 kB / 0.9894 GB, free: 10.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.008603, allocations: 278.6 kB / 0.9897 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008614, allocations: 192 / 0.9897 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.008638, allocations: 16.36 kB / 0.9897 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.008646, allocations: 8.375 kB / 0.9897 GB, free: 10.32 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.008881, allocations: 202.5 kB / 0.9899 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.009793, allocations: 0.7969 MB / 0.9906 GB, free: 9.293 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.01009, allocations: 203 kB / 0.9908 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.01053, allocations: 98.84 kB / 0.9909 GB, free: 8.988 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.01055, allocations: 11.94 kB / 0.9909 GB, free: 8.977 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.01076, allocations: 194.1 kB / 0.9911 GB, free: 8.773 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.342e-06/0.01076, allocations: 3.938 kB / 0.9911 GB, free: 8.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0004674/0.01123, allocations: 383.5 kB / 0.9915 GB, free: 8.391 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.01126, allocations: 59.41 kB / 0.9916 GB, free: 8.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.01145, allocations: 257.8 kB / 0.9918 GB, free: 8.062 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.01149, allocations: 37.7 kB / 0.9918 GB, free: 8.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01161, allocations: 204.8 kB / 0.992 GB, free: 7.816 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.01165, allocations: 79.33 kB / 0.9921 GB, free: 7.738 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.01176, allocations: 106 kB / 0.9922 GB, free: 7.625 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.01185, allocations: 350.7 kB / 0.9925 GB, free: 7.273 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.01209, allocations: 253.7 kB / 0.9928 GB, free: 7.004 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.01234, allocations: 329.8 kB / 0.9931 GB, free: 6.637 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.0127, allocations: 373.9 kB / 0.9935 GB, free: 6.227 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01271, allocations: 4 kB / 0.9935 GB, free: 6.223 MB / 0.948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008502/0.01356, allocations: 0.6551 MB / 0.9941 GB, free: 5.523 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.01361, allocations: 97.09 kB / 0.9942 GB, free: 5.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01362, allocations: 4 kB / 0.9942 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01363, allocations: 4 kB / 0.9942 GB, free: 5.402 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.01371, allocations: 27.92 kB / 0.9942 GB, free: 5.375 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01371, allocations: 4.25 kB / 0.9942 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.01398, allocations: 111.6 kB / 0.9943 GB, free: 5.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.01401, allocations: 27.98 kB / 0.9944 GB, free: 5.234 MB / 0.948 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.000132/0.01414, allocations: 172.4 kB / 0.9945 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.01417, allocations: 27.84 kB / 0.9946 GB, free: 5.027 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.01453, allocations: 304.3 kB / 0.9948 GB, free: 4.727 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01454, allocations: 4 kB / 0.9949 GB, free: 4.723 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01454, allocations: 0 / 0.9949 GB, free: 4.723 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.01455, allocations: 7.969 kB / 0.9949 GB, free: 4.715 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.01515, allocations: 0.6558 MB / 0.9955 GB, free: 4.023 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01515, allocations: 0 / 0.9955 GB, free: 4.023 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.0152, allocations: 23.94 kB / 0.9955 GB, free: 4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01521, allocations: 12 kB / 0.9955 GB, free: 3.988 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01522, allocations: 11.92 kB / 0.9955 GB, free: 3.977 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01522, allocations: 4 kB / 0.9955 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01522, allocations: 0 / 0.9955 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.01554, allocations: 384.4 kB / 0.9959 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.0156, allocations: 51.72 kB / 0.996 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01562, allocations: 11.94 kB / 0.996 GB, free: 3.516 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.0157, allocations: 11.98 kB / 0.996 GB, free: 3.504 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.01575, allocations: 23.95 kB / 0.996 GB, free: 3.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.01577, allocations: 19.98 kB / 0.996 GB, free: 3.461 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001059/0.01588, allocations: 173.2 kB / 0.9962 GB, free: 3.293 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01588, allocations: 4 kB / 0.9962 GB, free: 3.289 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002637/0.01614, allocations: 103.7 kB / 0.9963 GB, free: 3.188 MB / 0.948 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.0001397/0.01628, allocations: 126.4 kB / 0.9964 GB, free: 3.055 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.01679, allocations: 0.5735 MB / 0.997 GB, free: 2.426 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01679, allocations: 4.438 kB / 0.997 GB, free: 2.422 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.01692, allocations: 115.9 kB / 0.9971 GB, free: 2.309 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01724, allocations: 72.38 kB / 0.9972 GB, free: 2.238 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.01817, allocations: 0.5839 MB / 0.9977 GB, free: 1.621 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.01828, allocations: 187.2 kB / 0.9979 GB, free: 1.414 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.01833, allocations: 28.5 kB / 0.9979 GB, free: 1.387 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01833, allocations: 0 / 0.9979 GB, free: 1.387 MB / 0.948 GB Notification: Performance of Templates: time 0.004964/0.0233, allocations: 4.754 MB / 1.003 GB, free: 12.67 MB / 0.9636 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/jenkins/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: 6.794143510051072]