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.001689/0.001689, allocations: 105.1 kB / 18.99 MB, free: 2.617 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.002039/0.002039, allocations: 221.5 kB / 22.29 MB, free: 5.285 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.533/1.533, allocations: 230.6 MB / 256.1 MB, free: 7.801 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.643/3.643, allocations: 0.5096 GB / 0.8148 GB, free: 18.43 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.002207/0.002207, allocations: 67.3 kB / 1.184 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4603, allocations: 181.4 MB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003346/0.4637, allocations: 1.285 MB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4664, allocations: 1.517 MB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.4666, allocations: 7.938 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.4668, allocations: 35.53 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.467, allocations: 47.59 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.468, allocations: 344.8 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.4686, allocations: 476.1 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.469, allocations: 129.7 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.4692, allocations: 183.4 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.4695, allocations: 155.2 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.4696, allocations: 52 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.4698, allocations: 71.98 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.4699, allocations: 75.75 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.4701, allocations: 159.4 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.4712, allocations: 0.5915 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4712, allocations: 3.938 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4712, allocations: 0 / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.4712, allocations: 4 kB / 1.366 GB, free: 10.55 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.001491/0.4727, allocations: 0.5867 MB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4727, allocations: 8.031 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.473, allocations: 40.75 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.4737, allocations: 255.5 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.4738, allocations: 25.03 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.4739, allocations: 36.36 kB / 1.367 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.4744, allocations: 238.7 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4744, allocations: 4.188 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.4744, allocations: 23.86 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4745, allocations: 8 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.4748, allocations: 170.5 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.4762, allocations: 0.6995 MB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.4767, allocations: 170.9 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4769, allocations: 76.91 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.4769, allocations: 0 / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.4771, allocations: 139.3 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.4772, allocations: 0 / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005671/0.4777, allocations: 267.4 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4778, allocations: 55.41 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.478, allocations: 219.8 kB / 1.369 GB, free: 7.406 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.4781, allocations: 33.7 kB / 1.369 GB, free: 7.367 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4783, allocations: 196.4 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.4783, allocations: 71.42 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4785, allocations: 81.67 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4787, allocations: 338.8 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.479, allocations: 179.3 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.4793, allocations: 240.4 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4797, allocations: 273.9 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4797, allocations: 0 / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008089/0.4806, allocations: 0.4883 MB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.4806, allocations: 67.39 kB / 1.371 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4806, allocations: 4 kB / 1.371 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4807, allocations: 0 / 1.371 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4808, allocations: 39.92 kB / 1.371 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4808, allocations: 0 / 1.371 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.4812, allocations: 79.92 kB / 1.371 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.4812, allocations: 19.98 kB / 1.371 GB, free: 5.188 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.0001892/0.4814, allocations: 154.8 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.4815, allocations: 19.86 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.4819, allocations: 215.7 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4819, allocations: 4 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4819, allocations: 0 / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4819, allocations: 4 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.4826, allocations: 0.5255 MB / 1.372 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4826, allocations: 0 / 1.372 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4827, allocations: 31.92 kB / 1.372 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4828, allocations: 4 kB / 1.372 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.4828, allocations: 0 / 1.372 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4828, allocations: 7.984 kB / 1.372 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4828, allocations: 3.938 kB / 1.372 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.4832, allocations: 311.4 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.4832, allocations: 35.88 kB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4833, allocations: 11.94 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.4834, allocations: 15.92 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4835, allocations: 23.97 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4835, allocations: 7.984 kB / 1.373 GB, free: 3.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002015/0.4837, allocations: 156.6 kB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4837, allocations: 0 / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003665/0.4841, allocations: 75.84 kB / 1.373 GB, free: 3.512 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.000214/0.4843, allocations: 127.1 kB / 1.373 GB, free: 3.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.4849, allocations: 410.7 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4849, allocations: 3.938 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4851, allocations: 85.56 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.4855, allocations: 56.41 kB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/0.4865, allocations: 476.5 kB / 1.374 GB, free: 2.301 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.4867, allocations: 155.8 kB / 1.374 GB, free: 2.133 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.327e-05/0.4868, allocations: 22.28 kB / 1.374 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.4868, allocations: 23.44 kB / 1.374 GB, free: 2.086 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/0.4868, allocations: 4 kB / 1.374 GB, free: 2.082 MB / 1.061 GB Notification: Performance of Templates: time 0.01082/0.4977, allocations: 4.335 MB / 1.379 GB, free: 13.88 MB / 1.076 GB " [Timeout remaining time 299] 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 -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/jenkins/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.99929904518649]