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.001507/0.001507, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001483/0.001483, allocations: 165 kB / 23.82 MB, free: 0.75 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.9956/0.9956, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.996/1.996, allocations: 377.8 MB / 0.6236 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 2.855e-06/2.855e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.267e-05, allocations: 2.859 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.004407/0.00444, allocations: 2.336 MB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.006282, allocations: 0.9241 MB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.006541, allocations: 7.938 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.00676, allocations: 55.34 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.006941, allocations: 72.75 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.007989, allocations: 427.1 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006444/0.008633, allocations: 0.6378 MB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.00891, allocations: 175.1 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.00921, allocations: 344.6 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.009411, allocations: 171.5 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.009486, allocations: 64 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.0096, allocations: 80.53 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.009666, allocations: 91.66 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.009814, allocations: 176.1 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.0103, allocations: 443.5 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01031, allocations: 0 / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01031, allocations: 0 / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.01031, allocations: 0.8125 kB / 0.8174 GB, free: 11.74 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.0009334/0.01125, allocations: 0.7903 MB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.01129, allocations: 13.41 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.01142, allocations: 80.66 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.0118, allocations: 309.1 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.01183, allocations: 29.03 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.01188, allocations: 45.19 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.01218, allocations: 227.3 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01219, allocations: 4.688 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.01221, allocations: 12.38 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01222, allocations: 5.125 kB / 0.8188 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.01239, allocations: 123.8 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.01338, allocations: 0.8412 MB / 0.8198 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.01371, allocations: 164.4 kB / 0.8199 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.01385, allocations: 76.86 kB / 0.82 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01388, allocations: 4 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.01437, allocations: 180.9 kB / 0.8202 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.01437, allocations: 0 / 0.8202 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.000433/0.0148, allocations: 311.8 kB / 0.8205 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.01484, allocations: 59.39 kB / 0.8205 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01503, allocations: 301.8 kB / 0.8208 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.01507, allocations: 45.69 kB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01519, allocations: 239.6 kB / 0.8211 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.01524, allocations: 87.31 kB / 0.8212 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01537, allocations: 116.7 kB / 0.8213 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.0155, allocations: 0.5078 MB / 0.8218 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.0157, allocations: 205.7 kB / 0.822 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.01594, allocations: 302.6 kB / 0.8223 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.01623, allocations: 322.1 kB / 0.8226 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01623, allocations: 0.5 kB / 0.8226 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005913/0.01682, allocations: 0.5921 MB / 0.8232 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.01688, allocations: 105.1 kB / 0.8233 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01689, allocations: 4.656 kB / 0.8233 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01691, allocations: 6.344 kB / 0.8233 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.017, allocations: 27.92 kB / 0.8233 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01701, allocations: 4 kB / 0.8233 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.01722, allocations: 82.75 kB / 0.8234 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.01725, allocations: 23.98 kB / 0.8234 GB, free: 5.168 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.0001268/0.01738, allocations: 191.1 kB / 0.8236 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.01742, allocations: 43.84 kB / 0.8236 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.01773, allocations: 253.5 kB / 0.8239 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01773, allocations: 8.906 kB / 0.8239 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01774, allocations: 0 / 0.8239 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01774, allocations: 0 / 0.8239 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.01837, allocations: 0.6511 MB / 0.8245 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01838, allocations: 4 kB / 0.8245 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.01843, allocations: 21.06 kB / 0.8245 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01844, allocations: 0 / 0.8245 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01845, allocations: 15.92 kB / 0.8245 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01846, allocations: 1.031 kB / 0.8245 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01846, allocations: 0 / 0.8245 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.01875, allocations: 408.5 kB / 0.8249 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.01882, allocations: 48.97 kB / 0.825 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.01885, allocations: 15.92 kB / 0.825 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.01891, allocations: 4 kB / 0.825 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.01897, allocations: 29.61 kB / 0.825 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.01899, allocations: 15.98 kB / 0.825 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001031/0.0191, allocations: 197.1 kB / 0.8252 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0191, allocations: 4 kB / 0.8252 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000265/0.01936, allocations: 100.3 kB / 0.8253 GB, free: 3.113 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.0001708/0.01953, allocations: 127.6 kB / 0.8255 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.02003, allocations: 0.5117 MB / 0.826 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02003, allocations: 0 / 0.826 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.02014, allocations: 104.1 kB / 0.8261 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.02048, allocations: 77.78 kB / 0.8261 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.0212, allocations: 0.5375 MB / 0.8267 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.02126, allocations: 97.36 kB / 0.8267 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.359e-05/0.02133, allocations: 36.42 kB / 0.8268 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.02138, allocations: 36.48 kB / 0.8268 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.02138, allocations: 0 / 0.8268 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.007931/0.02931, allocations: 5.378 MB / 0.8321 GB, free: 12.26 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.6563720079138875]