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.0013/0.0013, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00141/0.00141, allocations: 220.1 kB / 22.99 MB, free: 4.914 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.473/3.473, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002192/0.002192, allocations: 70.44 kB / 1.187 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3764, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00323/0.3796, allocations: 1.303 MB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.3822, allocations: 1.509 MB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.3825, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.3827, allocations: 39.53 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.383, allocations: 51.53 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.384, allocations: 339.4 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.3847, allocations: 480.1 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.3851, allocations: 133.7 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.3853, allocations: 175.4 kB / 1.369 GB, free: 9.609 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3857, allocations: 155.2 kB / 1.369 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3858, allocations: 52 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3859, allocations: 67.98 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.386, allocations: 75.7 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.3862, allocations: 159.4 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.3869, allocations: 0.5915 MB / 1.37 GB, free: 8.516 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3869, allocations: 0 / 1.37 GB, free: 8.516 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3869, allocations: 7.938 kB / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3869, allocations: 0 / 1.37 GB, free: 8.508 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.0009831/0.3879, allocations: 0.5867 MB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3879, allocations: 8.031 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3881, allocations: 44.7 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.3886, allocations: 247.6 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.3886, allocations: 29.03 kB / 1.371 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.3887, allocations: 44.34 kB / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.3892, allocations: 234.7 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3892, allocations: 192 / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3892, allocations: 11.94 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3892, allocations: 8 kB / 1.371 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.3896, allocations: 170.5 kB / 1.371 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.3909, allocations: 0.7072 MB / 1.372 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.3914, allocations: 174.9 kB / 1.372 GB, free: 6.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3915, allocations: 68.92 kB / 1.372 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3915, allocations: 3.938 kB / 1.372 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3918, allocations: 139.2 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.3918, allocations: 0 / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0004979/0.3923, allocations: 255.4 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.3923, allocations: 63.28 kB / 1.372 GB, free: 5.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3926, allocations: 223.8 kB / 1.373 GB, free: 5.359 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.3926, allocations: 33.7 kB / 1.373 GB, free: 5.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3928, allocations: 200.4 kB / 1.373 GB, free: 5.121 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.3928, allocations: 63.44 kB / 1.373 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.393, allocations: 77.67 kB / 1.373 GB, free: 4.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3931, allocations: 338.8 kB / 1.373 GB, free: 4.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.3934, allocations: 179.3 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3937, allocations: 236.5 kB / 1.374 GB, free: 4.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.3941, allocations: 272.9 kB / 1.374 GB, free: 3.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3941, allocations: 8 kB / 1.374 GB, free: 3.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007334/0.3948, allocations: 488.1 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.3949, allocations: 71.39 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3949, allocations: 0 / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3949, allocations: 4 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3951, allocations: 35.92 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3951, allocations: 0 / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.3954, allocations: 79.92 kB / 1.375 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.3955, allocations: 23.98 kB / 1.375 GB, free: 3.152 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.0001672/0.3957, allocations: 158.8 kB / 1.375 GB, free: 2.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3957, allocations: 19.86 kB / 1.375 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.3961, allocations: 220.6 kB / 1.375 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3961, allocations: 4 kB / 1.375 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3961, allocations: 4 kB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3961, allocations: 0 / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.3968, allocations: 0.5316 MB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3968, allocations: 0 / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.3969, allocations: 23.98 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3969, allocations: 4 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3969, allocations: 4 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3969, allocations: 7.984 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3969, allocations: 7.922 kB / 1.376 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.3973, allocations: 321.6 kB / 1.376 GB, free: 1.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3973, allocations: 27.8 kB / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3974, allocations: 8 kB / 1.376 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.3975, allocations: 15.92 kB / 1.376 GB, free: 1.727 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.3976, allocations: 23.97 kB / 1.376 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3976, allocations: 7.984 kB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001486/0.3978, allocations: 156.6 kB / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3978, allocations: 0 / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003487/0.3981, allocations: 75.84 kB / 1.376 GB, free: 1.469 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.0001829/0.3983, allocations: 127.1 kB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005911/0.3989, allocations: 415.3 kB / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3989, allocations: 0 / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.399, allocations: 99.78 kB / 1.377 GB, free: 0.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3995, allocations: 56.47 kB / 1.377 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.4004, allocations: 496.7 kB / 1.377 GB, free: 216 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.4005, allocations: 155.8 kB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.4006, allocations: 23.42 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4006, allocations: 0 / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of Templates: time 0.006382/0.407, allocations: 3.746 MB / 1.381 GB, free: 12.31 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/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: 11.748666984960437]