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.001758/0.001758, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002226/0.002226, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.552/1.552, allocations: 230.6 MB / 256 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.6/3.6, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002126/0.002126, allocations: 70.33 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4336, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.004022/0.4376, allocations: 1.293 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.441, allocations: 1.513 MB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.4413, allocations: 7.938 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.4416, allocations: 35.53 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.4418, allocations: 43.59 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4431, allocations: 336 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.4439, allocations: 480.1 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.4443, allocations: 129.7 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.4446, allocations: 187.4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.445, allocations: 155.1 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.4451, allocations: 48 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.4453, allocations: 75.98 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.4454, allocations: 75.75 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.4457, allocations: 155.4 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4467, allocations: 0.5954 MB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4467, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4467, allocations: 4 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.4467, allocations: 0 / 1.369 GB, free: 8.465 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.001591/0.4483, allocations: 0.5828 MB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.4484, allocations: 16.02 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.4487, allocations: 40.7 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.4494, allocations: 247.6 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.4495, allocations: 25.03 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.4496, allocations: 36.38 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.4502, allocations: 242.7 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.4502, allocations: 192 / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4503, allocations: 15.94 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4503, allocations: 11.94 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.4507, allocations: 174.5 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.4527, allocations: 0.7034 MB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.4533, allocations: 178.9 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.4535, allocations: 70.55 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.4535, allocations: 8 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.4539, allocations: 137.4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.4539, allocations: 0 / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.000706/0.4546, allocations: 257.3 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4546, allocations: 59.34 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.455, allocations: 223.8 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.455, allocations: 33.7 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4552, allocations: 188.5 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.4553, allocations: 71.48 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.4555, allocations: 77.67 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4557, allocations: 334.8 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.4561, allocations: 187.3 kB / 1.373 GB, free: 4.398 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.4566, allocations: 232.5 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.4572, allocations: 272.9 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4572, allocations: 4 kB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001338/0.4585, allocations: 493.2 kB / 1.374 GB, free: 3.328 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.4586, allocations: 75.39 kB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4586, allocations: 0 / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4587, allocations: 4 kB / 1.374 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4588, allocations: 31.92 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.4589, allocations: 7.984 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.4594, allocations: 79.86 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.4595, allocations: 19.98 kB / 1.374 GB, free: 3.102 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.0002516/0.4597, allocations: 153.7 kB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.4598, allocations: 23.86 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.4603, allocations: 212.9 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4603, allocations: 4 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4603, allocations: 4 kB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4603, allocations: 3.984 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4614, allocations: 0.5277 MB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4614, allocations: 4 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4615, allocations: 27.92 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4615, allocations: 0 / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.4616, allocations: 8 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4616, allocations: 0 / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4616, allocations: 7.938 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.4621, allocations: 314.9 kB / 1.375 GB, free: 1.738 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.4622, allocations: 31.78 kB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.4623, allocations: 11.94 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.4625, allocations: 19.86 kB / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.4626, allocations: 23.91 kB / 1.375 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.4627, allocations: 15.98 kB / 1.375 GB, free: 1.637 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002265/0.4629, allocations: 156.6 kB / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4629, allocations: 0 / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006226/0.4635, allocations: 71.84 kB / 1.375 GB, free: 1.414 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.0002443/0.4638, allocations: 134.6 kB / 1.375 GB, free: 1.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.4647, allocations: 406 kB / 1.376 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4647, allocations: 0 / 1.376 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4649, allocations: 83.84 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.4656, allocations: 56.45 kB / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4668, allocations: 471 kB / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.4671, allocations: 151.8 kB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.4672, allocations: 26.28 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4673, allocations: 27.48 kB / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.4673, allocations: 0 / 1.377 GB, free: 15.99 MB / 1.076 GB Notification: Performance of Templates: time 0.01282/0.4801, allocations: 4.29 MB / 1.381 GB, free: 11.84 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 -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: 10.061361975967884]