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.001466/0.001466, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009866/0.0009866, allocations: 169 kB / 24.28 MB, free: 276 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.9611/0.9611, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.987/1.987, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.394e-05, allocations: 3.438 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.002617/0.002641, allocations: 2.31 MB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003948, allocations: 0.9289 MB / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.004145, allocations: 13.69 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.004325, allocations: 51.34 kB / 0.8148 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.004447, allocations: 59.45 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007385/0.005186, allocations: 444.4 kB / 0.8152 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.005713, allocations: 0.638 MB / 0.8159 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.00596, allocations: 167.2 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.006229, allocations: 343.4 kB / 0.8164 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.006408, allocations: 175.4 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.006465, allocations: 70.34 kB / 0.8166 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.006553, allocations: 79.94 kB / 0.8167 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.006611, allocations: 95.66 kB / 0.8168 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.006738, allocations: 179.6 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.007108, allocations: 438.6 kB / 0.8174 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.007111, allocations: 4 kB / 0.8174 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007112, allocations: 0 / 0.8174 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.007123, allocations: 0.7188 kB / 0.8174 GB, free: 12.12 MB / 0.7761 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.0006647/0.007788, allocations: 0.7826 MB / 0.8181 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.007823, allocations: 13.69 kB / 0.8181 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.007921, allocations: 84.64 kB / 0.8182 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.008262, allocations: 304.6 kB / 0.8185 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.00829, allocations: 30.31 kB / 0.8185 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.008334, allocations: 48.38 kB / 0.8186 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.008596, allocations: 223.3 kB / 0.8188 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.008603, allocations: 192 / 0.8188 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.008623, allocations: 17.52 kB / 0.8188 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.008631, allocations: 12.31 kB / 0.8188 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.008802, allocations: 119.7 kB / 0.8189 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.009639, allocations: 0.8422 MB / 0.8198 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.009892, allocations: 175.5 kB / 0.8199 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.01001, allocations: 76.08 kB / 0.82 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.01003, allocations: 4 kB / 0.82 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.01033, allocations: 177.5 kB / 0.8202 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.01033, allocations: 3.984 kB / 0.8202 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.0003976/0.01073, allocations: 311.8 kB / 0.8205 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.01076, allocations: 55.41 kB / 0.8205 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01094, allocations: 313.9 kB / 0.8208 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.01098, allocations: 33.7 kB / 0.8209 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01109, allocations: 247.6 kB / 0.8211 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.01114, allocations: 83.33 kB / 0.8212 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.01125, allocations: 115.6 kB / 0.8213 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01138, allocations: 0.5125 MB / 0.8218 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.01158, allocations: 197.7 kB / 0.822 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.0118, allocations: 301.6 kB / 0.8223 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.01208, allocations: 330.2 kB / 0.8226 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01208, allocations: 0 / 0.8226 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005584/0.01264, allocations: 0.5858 MB / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.01269, allocations: 103 kB / 0.8232 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01269, allocations: 4 kB / 0.8232 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.0127, allocations: 4 kB / 0.8233 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.01277, allocations: 31.92 kB / 0.8233 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01278, allocations: 9.141 kB / 0.8233 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.01298, allocations: 84.33 kB / 0.8234 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.01302, allocations: 24.52 kB / 0.8234 GB, free: 5.535 MB / 0.7761 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.0003731/0.01339, allocations: 194.6 kB / 0.8236 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.01343, allocations: 43.81 kB / 0.8236 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.0137, allocations: 253.5 kB / 0.8239 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0137, allocations: 7.938 kB / 0.8239 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.0137, allocations: 0 / 0.8239 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01371, allocations: 3.984 kB / 0.8239 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.01428, allocations: 0.652 MB / 0.8245 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01429, allocations: 4 kB / 0.8245 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.01433, allocations: 23.92 kB / 0.8245 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.01434, allocations: 0 / 0.8245 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01435, allocations: 11.94 kB / 0.8245 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01435, allocations: 0 / 0.8245 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01435, allocations: 5.016 kB / 0.8246 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.01462, allocations: 400.5 kB / 0.8249 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.01468, allocations: 52.81 kB / 0.825 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.01471, allocations: 11.94 kB / 0.825 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.01477, allocations: 7.984 kB / 0.825 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.01482, allocations: 29.02 kB / 0.825 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.01484, allocations: 12 kB / 0.825 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000105/0.01494, allocations: 197.1 kB / 0.8252 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01494, allocations: 5.062 kB / 0.8252 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000256/0.0152, allocations: 103.8 kB / 0.8253 GB, free: 3.477 MB / 0.7761 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.0001529/0.01535, allocations: 117.7 kB / 0.8254 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.01581, allocations: 0.5159 MB / 0.826 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01582, allocations: 0 / 0.826 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01593, allocations: 108.1 kB / 0.8261 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01625, allocations: 77.14 kB / 0.8261 GB, free: 2.598 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.01688, allocations: 0.5299 MB / 0.8266 GB, free: 2.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01694, allocations: 97.3 kB / 0.8267 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.01701, allocations: 40.94 kB / 0.8268 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.01706, allocations: 28.5 kB / 0.8268 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01706, allocations: 0.75 kB / 0.8268 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of Templates: time 0.007153/0.02421, allocations: 5.324 MB / 0.832 GB, free: 12.69 MB / 0.7917 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.42842051689513]