Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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.0009925/0.0009925, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001078/0.001078, allocations: 169 kB / 24.28 MB, free: 280 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.9981/0.9981, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.984/1.984, allocations: 377.9 MB / 0.6239 GB, free: 8.559 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.8116 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.495e-05, allocations: 4.984 kB / 0.8116 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003119/0.003154, allocations: 1.339 MB / 0.8129 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.005839, allocations: 1.53 MB / 0.8144 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.006106, allocations: 8.594 kB / 0.8144 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.006309, allocations: 32.7 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.006432, allocations: 55.52 kB / 0.8145 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.007178, allocations: 333 kB / 0.8148 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.007533, allocations: 468.1 kB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.007758, allocations: 125.7 kB / 0.8153 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.007964, allocations: 257.5 kB / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.008121, allocations: 135.5 kB / 0.8157 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.008171, allocations: 52 kB / 0.8158 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.008263, allocations: 75.91 kB / 0.8158 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.008311, allocations: 67.75 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.008413, allocations: 132.9 kB / 0.816 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.008748, allocations: 338.9 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.008754, allocations: 0 / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.784e-06/0.008756, allocations: 1.375 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.008762, allocations: 0 / 0.8163 GB, free: 13.17 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007348/0.009497, allocations: 0.671 MB / 0.817 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.009535, allocations: 13.53 kB / 0.817 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.009743, allocations: 68.69 kB / 0.8171 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.01005, allocations: 249.6 kB / 0.8173 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.01008, allocations: 26.38 kB / 0.8173 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.01012, allocations: 36.38 kB / 0.8174 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.01036, allocations: 187.4 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.01037, allocations: 0.7188 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.01039, allocations: 12.31 kB / 0.8176 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.0104, allocations: 14.25 kB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.01055, allocations: 99.8 kB / 0.8177 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.01142, allocations: 0.7281 MB / 0.8184 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.01162, allocations: 123.4 kB / 0.8185 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.01169, allocations: 47.61 kB / 0.8186 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.01171, allocations: 7.938 kB / 0.8186 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.01187, allocations: 119.3 kB / 0.8187 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.01187, allocations: 0 / 0.8187 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003226/0.0122, allocations: 191.6 kB / 0.8189 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.01224, allocations: 64.11 kB / 0.8189 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.01241, allocations: 266.4 kB / 0.8192 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.01245, allocations: 42.23 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01257, allocations: 224.8 kB / 0.8194 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.01261, allocations: 71.42 kB / 0.8195 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.0127, allocations: 83.33 kB / 0.8196 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.01283, allocations: 0.5001 MB / 0.8201 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.01299, allocations: 131.6 kB / 0.8202 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.01316, allocations: 207.7 kB / 0.8204 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.01357, allocations: 232.1 kB / 0.8206 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.01357, allocations: 4 kB / 0.8206 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004511/0.01402, allocations: 430.7 kB / 0.821 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.01407, allocations: 67.39 kB / 0.8211 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01407, allocations: 0.8438 kB / 0.8211 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.01409, allocations: 4 kB / 0.8211 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.0142, allocations: 37.39 kB / 0.8211 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.01421, allocations: 4 kB / 0.8211 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.01438, allocations: 56.84 kB / 0.8212 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.01441, allocations: 15.98 kB / 0.8212 GB, free: 7.863 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001333/0.01455, allocations: 182.5 kB / 0.8214 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01457, allocations: 27.86 kB / 0.8214 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.01482, allocations: 167.5 kB / 0.8216 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01482, allocations: 4 kB / 0.8216 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.01482, allocations: 10.27 kB / 0.8216 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01483, allocations: 0 / 0.8216 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.01525, allocations: 0.5197 MB / 0.8221 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01525, allocations: 0 / 0.8221 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.0153, allocations: 23.98 kB / 0.8221 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01531, allocations: 0.5 kB / 0.8221 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01532, allocations: 17.55 kB / 0.8221 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01533, allocations: 3.938 kB / 0.8221 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01533, allocations: 4 kB / 0.8221 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.01556, allocations: 335.6 kB / 0.8225 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01559, allocations: 24.36 kB / 0.8225 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.01561, allocations: 9.344 kB / 0.8225 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.01568, allocations: 11.98 kB / 0.8225 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.01574, allocations: 27.84 kB / 0.8225 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01575, allocations: 7.984 kB / 0.8225 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.47e-05/0.01584, allocations: 185.2 kB / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01584, allocations: 0.6562 kB / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002292/0.01607, allocations: 79.78 kB / 0.8228 GB, free: 6.156 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001707/0.01624, allocations: 123.2 kB / 0.8229 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003847/0.01663, allocations: 361.9 kB / 0.8232 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01663, allocations: 0 / 0.8232 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.01671, allocations: 67.52 kB / 0.8233 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.01701, allocations: 72.23 kB / 0.8234 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.01759, allocations: 442.2 kB / 0.8238 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.01764, allocations: 88.17 kB / 0.8239 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.674e-05/0.01771, allocations: 28.05 kB / 0.8239 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.01776, allocations: 24.48 kB / 0.8239 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of SimCode: time 1.173e-06/0.01776, allocations: 0 / 0.8239 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of Templates: time 0.006542/0.0243, allocations: 4.028 MB / 0.8279 GB, free: 1.004 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.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.481428527040407]