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.001056/0.001056, allocations: 87.58 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.00101/0.00101, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9906/0.9906, allocations: 177.1 MB / 204.2 MB, free: 5.605 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 2.048/2.048, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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 1.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.619e-05, allocations: 6.859 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.001804/0.00182, allocations: 1.36 MB / 0.8129 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.003299, allocations: 1.534 MB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.003422, allocations: 4 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.003556, allocations: 35.53 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.003646, allocations: 61.2 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.004208, allocations: 327.1 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.004547, allocations: 473.7 kB / 0.8153 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.004751, allocations: 125.6 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.004944, allocations: 259.5 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.00509, allocations: 123.6 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.00514, allocations: 48.53 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.005232, allocations: 71.97 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.005281, allocations: 77.34 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.005385, allocations: 127.7 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.005718, allocations: 350.8 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005719, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00572, allocations: 0.6562 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005724, allocations: 0 / 0.8164 GB, free: 12.77 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.0006446/0.006369, allocations: 0.6683 MB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.006409, allocations: 13.17 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.006561, allocations: 64.7 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.006832, allocations: 249.6 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.006859, allocations: 30.41 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.006897, allocations: 32.38 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.007202, allocations: 187.4 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.007213, allocations: 1.938 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.007232, allocations: 12.38 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.007241, allocations: 4.375 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.007381, allocations: 103.7 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.008183, allocations: 0.7274 MB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.008362, allocations: 113.8 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.008427, allocations: 55.55 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.008451, allocations: 7.938 kB / 0.8186 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.008589, allocations: 120.9 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.00859, allocations: 4 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003262/0.008916, allocations: 191.3 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.008949, allocations: 57.38 kB / 0.8189 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.009123, allocations: 270.4 kB / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.009153, allocations: 37.7 kB / 0.8192 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.009269, allocations: 231.2 kB / 0.8195 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.009309, allocations: 63.47 kB / 0.8195 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.009403, allocations: 87.78 kB / 0.8196 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.009518, allocations: 0.4967 MB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.009669, allocations: 139.6 kB / 0.8202 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.009829, allocations: 205 kB / 0.8204 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01004, allocations: 224.3 kB / 0.8206 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01004, allocations: 0 / 0.8206 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004195/0.01046, allocations: 432.9 kB / 0.821 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.0105, allocations: 75.33 kB / 0.8211 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.0105, allocations: 0.7188 kB / 0.8211 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01052, allocations: 5.156 kB / 0.8211 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.01061, allocations: 27.98 kB / 0.8211 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01062, allocations: 7.938 kB / 0.8212 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.01077, allocations: 57.12 kB / 0.8212 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.0108, allocations: 16 kB / 0.8212 GB, free: 7.484 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 9.915e-05/0.01089, allocations: 183.1 kB / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.01092, allocations: 35.8 kB / 0.8214 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01114, allocations: 165.2 kB / 0.8216 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01115, allocations: 4 kB / 0.8216 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01115, allocations: 0.8125 kB / 0.8216 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01116, allocations: 3.984 kB / 0.8216 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.01158, allocations: 0.5233 MB / 0.8221 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01158, allocations: 0 / 0.8221 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.01164, allocations: 29.02 kB / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01164, allocations: 0 / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01165, allocations: 4 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.01166, allocations: 13.05 kB / 0.8222 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01166, allocations: 3.938 kB / 0.8222 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.01189, allocations: 338.3 kB / 0.8225 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.01191, allocations: 23.78 kB / 0.8225 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01193, allocations: 8 kB / 0.8225 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.01199, allocations: 13.62 kB / 0.8225 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.01205, allocations: 23.89 kB / 0.8225 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01206, allocations: 12 kB / 0.8226 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.995e-05/0.01215, allocations: 188.5 kB / 0.8227 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01215, allocations: 0.5 kB / 0.8227 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002261/0.01237, allocations: 81.06 kB / 0.8228 GB, free: 5.77 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.0001181/0.01249, allocations: 115.2 kB / 0.8229 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.01283, allocations: 363.3 kB / 0.8233 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01283, allocations: 3.562 kB / 0.8233 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.01291, allocations: 67.53 kB / 0.8233 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.0132, allocations: 75.06 kB / 0.8234 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.01372, allocations: 437.1 kB / 0.8238 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.19e-05/0.01378, allocations: 88.17 kB / 0.8239 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.01383, allocations: 25.2 kB / 0.8239 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.01388, allocations: 28.48 kB / 0.824 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01388, allocations: 4 kB / 0.824 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of Templates: time 0.005767/0.01965, allocations: 4.046 MB / 0.8279 GB, free: 0.5977 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.623505422845483]