Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001889/0.001889, allocations: 104.3 kB / 19.74 MB, free: 2.082 MB / 14.72 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.002517/0.002517, allocations: 215.2 kB / 23.04 MB, free: 4.867 MB / 14.72 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 1.639/1.639, allocations: 230.6 MB / 256.8 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.42/3.42, allocations: 0.5097 GB / 0.8156 GB, free: 18.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 64.47 kB / 1.185 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4362, allocations: 181.4 MB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003027/0.4392, allocations: 1.292 MB / 1.364 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.4418, allocations: 1.509 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.442, allocations: 8 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.4422, allocations: 35.53 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.4423, allocations: 43.59 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.4432, allocations: 352.9 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.4439, allocations: 472.2 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.4443, allocations: 125.7 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.4445, allocations: 179.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.4447, allocations: 151.2 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.542e-05/0.4448, allocations: 52 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.445, allocations: 75.97 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.445, allocations: 75.77 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.4452, allocations: 159.3 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.446, allocations: 0.5954 MB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.446, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.765e-06/0.446, allocations: 7.875 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.446, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001189/0.4472, allocations: 0.5905 MB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.4473, allocations: 16.02 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.4475, allocations: 36.75 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005727/0.4481, allocations: 247.6 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.4481, allocations: 29.03 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-05/0.4482, allocations: 36.38 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.4488, allocations: 242.6 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4488, allocations: 4.188 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4488, allocations: 15.94 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4488, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.4492, allocations: 170.5 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.4506, allocations: 0.7073 MB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.4511, allocations: 172.6 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.4513, allocations: 72.86 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4513, allocations: 4 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.4516, allocations: 143.2 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.4516, allocations: 0 / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005593/0.4521, allocations: 259.2 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.4522, allocations: 55.41 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4524, allocations: 219.8 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.4525, allocations: 41.7 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.4527, allocations: 188.5 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.4527, allocations: 71.42 kB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4529, allocations: 77.67 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4531, allocations: 334.8 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.4534, allocations: 187.3 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.4537, allocations: 232.4 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.4541, allocations: 278 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4541, allocations: 0 / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008256/0.455, allocations: 496.1 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.455, allocations: 71.39 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4551, allocations: 7.938 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4551, allocations: 4 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4552, allocations: 31.92 kB / 1.372 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4552, allocations: 4.156 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.4557, allocations: 75.77 kB / 1.372 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.4557, allocations: 19.98 kB / 1.372 GB, free: 5.121 MB / 1.061 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 (31): * Single equations (assignments): 29 * 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.000189/0.4559, allocations: 154.8 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.4559, allocations: 23.86 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.4564, allocations: 220.8 kB / 1.373 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4564, allocations: 7.938 kB / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4564, allocations: 0 / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4564, allocations: 0 / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.4571, allocations: 0.5238 MB / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4571, allocations: 0 / 1.373 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.4572, allocations: 31.92 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.4572, allocations: 4 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4573, allocations: 4 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4573, allocations: 0 / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4573, allocations: 8.031 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.4577, allocations: 326.8 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.4577, allocations: 31.78 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.4578, allocations: 0 / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4579, allocations: 19.92 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.458, allocations: 19.97 kB / 1.374 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.458, allocations: 11.98 kB / 1.374 GB, free: 3.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001691/0.4582, allocations: 160.6 kB / 1.374 GB, free: 3.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4582, allocations: 0 / 1.374 GB, free: 3.504 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003782/0.4585, allocations: 71.84 kB / 1.374 GB, free: 3.434 MB / 1.061 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 (23): * Single equations (assignments): 21 * 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.0002032/0.4587, allocations: 128.8 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006717/0.4594, allocations: 418 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4594, allocations: 0 / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4596, allocations: 75.91 kB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.46, allocations: 56.41 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.4609, allocations: 468 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4611, allocations: 159.7 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.4612, allocations: 30.28 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.4613, allocations: 19.44 kB / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4613, allocations: 0 / 1.375 GB, free: 2.012 MB / 1.061 GB Notification: Performance of Templates: time 0.009954/0.4712, allocations: 4.349 MB / 1.379 GB, free: 13.79 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.926314269891009]