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.001101/0.001101, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001209/0.001209, allocations: 171.8 kB / 24.87 MB, free: 8.867 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.9979/0.9979, allocations: 177.2 MB / 205.3 MB, free: 5.512 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.986/1.986, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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 2.705e-06/2.705e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.955e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00288/0.00291, allocations: 1.31 MB / 0.8141 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.005346, allocations: 1.531 MB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.005567, allocations: 4 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.005757, allocations: 39.53 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.005908, allocations: 53.23 kB / 0.8157 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008523/0.00676, allocations: 327.2 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008651/0.007625, allocations: 469 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.00791, allocations: 125.6 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.008238, allocations: 268.4 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.008464, allocations: 131.5 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.00854, allocations: 52 kB / 0.817 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.008678, allocations: 68.7 kB / 0.817 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.008743, allocations: 67.69 kB / 0.8171 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.00888, allocations: 132.4 kB / 0.8172 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.009447, allocations: 336.1 kB / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.009451, allocations: 0 / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.009453, allocations: 0 / 0.8176 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.009459, allocations: 0 / 0.8176 GB, free: 12.55 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.001133/0.01059, allocations: 0.6769 MB / 0.8182 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.01064, allocations: 8.031 kB / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.01087, allocations: 68.7 kB / 0.8183 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.01123, allocations: 257.8 kB / 0.8185 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.01126, allocations: 25.03 kB / 0.8186 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.01131, allocations: 33.09 kB / 0.8186 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.01159, allocations: 167.4 kB / 0.8187 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.0116, allocations: 1.719 kB / 0.8187 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.01163, allocations: 16.31 kB / 0.8188 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01164, allocations: 4.375 kB / 0.8188 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.01178, allocations: 76.45 kB / 0.8188 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01291, allocations: 0.7352 MB / 0.8196 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.01312, allocations: 111.8 kB / 0.8197 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.01318, allocations: 43.56 kB / 0.8197 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01321, allocations: 7.938 kB / 0.8197 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.01338, allocations: 114.6 kB / 0.8198 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 2.395e-06/0.01339, allocations: 1.062 kB / 0.8198 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003438/0.01373, allocations: 179.8 kB / 0.82 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.01378, allocations: 59.41 kB / 0.8201 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.01398, allocations: 276 kB / 0.8203 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.01402, allocations: 41.7 kB / 0.8204 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01416, allocations: 227.2 kB / 0.8206 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.01421, allocations: 67.41 kB / 0.8206 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01434, allocations: 83.84 kB / 0.8207 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.01449, allocations: 0.5046 MB / 0.8212 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.01465, allocations: 123.3 kB / 0.8213 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.01488, allocations: 217.6 kB / 0.8215 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.01517, allocations: 247.1 kB / 0.8218 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01517, allocations: 0 / 0.8218 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006018/0.01577, allocations: 417.5 kB / 0.8222 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.01583, allocations: 76.05 kB / 0.8222 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01584, allocations: 0 / 0.8222 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01586, allocations: 4.906 kB / 0.8222 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01601, allocations: 35.92 kB / 0.8223 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01601, allocations: 4.844 kB / 0.8223 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.01628, allocations: 61.03 kB / 0.8223 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.01632, allocations: 19.98 kB / 0.8224 GB, free: 7.277 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: 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 (32): * Single equations (assignments): 30 * 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.0001493/0.01647, allocations: 178.8 kB / 0.8225 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.01652, allocations: 37.69 kB / 0.8226 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.0168, allocations: 151.5 kB / 0.8227 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01681, allocations: 7.938 kB / 0.8227 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01681, allocations: 0 / 0.8227 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01681, allocations: 3.984 kB / 0.8227 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.01761, allocations: 495.6 kB / 0.8232 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01761, allocations: 0 / 0.8232 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.01771, allocations: 23.92 kB / 0.8232 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01771, allocations: 4 kB / 0.8232 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01773, allocations: 8 kB / 0.8232 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01773, allocations: 4 kB / 0.8232 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.01774, allocations: 3.938 kB / 0.8232 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.01802, allocations: 332.9 kB / 0.8236 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.01806, allocations: 19.86 kB / 0.8236 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.01809, allocations: 8.609 kB / 0.8236 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.0182, allocations: 8 kB / 0.8236 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.01826, allocations: 24.78 kB / 0.8236 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01827, allocations: 11.92 kB / 0.8236 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001108/0.01839, allocations: 182.6 kB / 0.8238 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01839, allocations: 0 / 0.8238 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004264/0.01881, allocations: 75.83 kB / 0.8239 GB, free: 5.652 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.0001804/0.01899, allocations: 121.2 kB / 0.824 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.01942, allocations: 349.6 kB / 0.8243 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01942, allocations: 1.969 kB / 0.8243 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01952, allocations: 64.39 kB / 0.8244 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.01999, allocations: 63.72 kB / 0.8244 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.0208, allocations: 449.7 kB / 0.8249 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.94e-05/0.02087, allocations: 85.19 kB / 0.825 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.02098, allocations: 24.55 kB / 0.825 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.02122, allocations: 147.2 kB / 0.8251 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.02122, allocations: 0 / 0.8251 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.009099/0.03032, allocations: 4.434 MB / 0.8295 GB, free: 0 / 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.5084275347180665]