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.001659/0.001659, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001666/0.001666, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.003065/0.003065, allocations: 64.89 kB / 1.154 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4955, allocations: 176.1 MB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003181/0.4987, allocations: 1.284 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.5013, allocations: 1.502 MB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002908/0.5016, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.5018, allocations: 39.53 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.502, allocations: 51.59 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.503, allocations: 325.3 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.5036, allocations: 468.1 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.5039, allocations: 141.7 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.5041, allocations: 175.5 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.5044, allocations: 175.2 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.5045, allocations: 52 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.5046, allocations: 67.98 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.5047, allocations: 63.84 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.5049, allocations: 163.3 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.5057, allocations: 0.5798 MB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5057, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5057, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5057, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 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.001161/0.5068, allocations: 0.5789 MB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5069, allocations: 11.97 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.5071, allocations: 52.69 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.5076, allocations: 247.6 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.5077, allocations: 25.03 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.5077, allocations: 32.38 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.5082, allocations: 234.7 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5082, allocations: 192 / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.5082, allocations: 15.92 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5082, allocations: 8 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.5085, allocations: 162.5 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.5099, allocations: 0.6838 MB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.5102, allocations: 146.7 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.5103, allocations: 64.88 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.5104, allocations: 11.84 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.5106, allocations: 137.3 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.5106, allocations: 4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005491/0.5112, allocations: 247.2 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.5112, allocations: 67.33 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.5115, allocations: 223.8 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.5115, allocations: 33.7 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.5117, allocations: 184.8 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.5118, allocations: 71.42 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.5119, allocations: 69.69 kB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5121, allocations: 334.8 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.5124, allocations: 179.6 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.5127, allocations: 225 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.5131, allocations: 273.2 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5131, allocations: 0 / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008613/0.514, allocations: 484.1 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/0.514, allocations: 69.11 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.514, allocations: 4 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5141, allocations: 3.938 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5142, allocations: 40.08 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5142, allocations: 4 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.5147, allocations: 75.77 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.5147, allocations: 19.98 kB / 1.336 GB, free: 6.676 MB / 1.029 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 0.0002041/0.5149, allocations: 162.3 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.5149, allocations: 19.91 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.5154, allocations: 203.5 kB / 1.336 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5154, allocations: 4 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5154, allocations: 3.938 kB / 1.336 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5154, allocations: 7.922 kB / 1.336 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.5162, allocations: 0.5083 MB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5162, allocations: 3.938 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5163, allocations: 23.98 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5163, allocations: 3.938 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.5163, allocations: 16.08 kB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5163, allocations: 4 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5163, allocations: 4 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.5168, allocations: 308.4 kB / 1.337 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.5168, allocations: 27.84 kB / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.5169, allocations: 11.94 kB / 1.337 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.517, allocations: 11.92 kB / 1.337 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.5171, allocations: 19.97 kB / 1.337 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.5171, allocations: 15.98 kB / 1.337 GB, free: 5.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001809/0.5173, allocations: 156.6 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5173, allocations: 4 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004009/0.5177, allocations: 75.78 kB / 1.338 GB, free: 5.02 MB / 1.029 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.0002387/0.5179, allocations: 125.1 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006795/0.5186, allocations: 410 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5186, allocations: 0 / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.5188, allocations: 77.52 kB / 1.338 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.5193, allocations: 64.58 kB / 1.338 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.5205, allocations: 459.1 kB / 1.339 GB, free: 3.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.5208, allocations: 150.9 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.5209, allocations: 29.94 kB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.521, allocations: 19.44 kB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/0.521, allocations: 0 / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of Templates: time 0.01086/0.5318, allocations: 4.301 MB / 1.343 GB, free: 15.45 MB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.913906724192202]