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.001615/0.001615, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001936/0.001936, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.609/1.609, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.921/2.921, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002348/0.002348, allocations: 67.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.066, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.004346/1.07, allocations: 1.282 MB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002167/1.072, allocations: 1.495 MB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/1.072, allocations: 4.875 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/1.072, allocations: 41.08 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/1.073, allocations: 47.14 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/1.073, allocations: 342 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/1.074, allocations: 462.8 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/1.074, allocations: 134.1 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/1.074, allocations: 174.9 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/1.074, allocations: 148.3 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/1.074, allocations: 50.06 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/1.074, allocations: 76.86 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/1.075, allocations: 72.52 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/1.075, allocations: 156.1 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/1.075, allocations: 0.5699 MB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.075, allocations: 2.969 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.165e-06/1.075, allocations: 0 / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.075, allocations: 4 kB / 1.159 GB, free: 30.37 MB / 1.076 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.0008762/1.076, allocations: 0.5814 MB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.076, allocations: 10.72 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/1.076, allocations: 46.89 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/1.077, allocations: 243.6 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.077, allocations: 23.69 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/1.077, allocations: 33.31 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/1.077, allocations: 234.7 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.077, allocations: 4.188 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/1.077, allocations: 18.19 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/1.077, allocations: 5.688 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/1.077, allocations: 159.5 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/1.078, allocations: 0.6913 MB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/1.079, allocations: 141.6 kB / 1.161 GB, free: 28.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.079, allocations: 69.27 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/1.079, allocations: 6.75 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/1.079, allocations: 142.2 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/1.079, allocations: 0 / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0004488/1.08, allocations: 247.6 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.08, allocations: 58.16 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/1.08, allocations: 219.3 kB / 1.162 GB, free: 28.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.08, allocations: 39.3 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.08, allocations: 179.1 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/1.08, allocations: 71.72 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.08, allocations: 74.3 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.469e-05/1.08, allocations: 339.8 kB / 1.162 GB, free: 27.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.08, allocations: 175.3 kB / 1.163 GB, free: 27.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/1.081, allocations: 232.4 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/1.081, allocations: 269.6 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.081, allocations: 2.594 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005687/1.081, allocations: 496 kB / 1.163 GB, free: 27.11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/1.082, allocations: 67.52 kB / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.082, allocations: 0 / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.082, allocations: 6.812 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.082, allocations: 36.75 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.082, allocations: 5.875 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/1.082, allocations: 73.55 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/1.082, allocations: 21.75 kB / 1.164 GB, free: 27.01 MB / 1.076 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.0001331/1.082, allocations: 151.8 kB / 1.164 GB, free: 26.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/1.082, allocations: 19.59 kB / 1.164 GB, free: 26.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/1.083, allocations: 210.6 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.083, allocations: 2.844 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.083, allocations: 3.938 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.083, allocations: 0 / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/1.083, allocations: 0.5086 MB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.083, allocations: 0 / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/1.083, allocations: 26.69 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.083, allocations: 6.719 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.083, allocations: 5.547 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.083, allocations: 3.938 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.083, allocations: 6.125 kB / 1.165 GB, free: 26.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/1.083, allocations: 305.8 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/1.083, allocations: 29.62 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/1.084, allocations: 15 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.084, allocations: 13.38 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/1.084, allocations: 27.19 kB / 1.165 GB, free: 26.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/1.084, allocations: 9.375 kB / 1.165 GB, free: 26.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001076/1.084, allocations: 157.1 kB / 1.165 GB, free: 26 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.084, allocations: 0 / 1.165 GB, free: 26 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003282/1.084, allocations: 79.86 kB / 1.165 GB, free: 25.98 MB / 1.076 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.0001488/1.084, allocations: 122.8 kB / 1.165 GB, free: 25.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004564/1.085, allocations: 412.2 kB / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.085, allocations: 0 / 1.166 GB, free: 25.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/1.085, allocations: 81.78 kB / 1.166 GB, free: 25.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/1.085, allocations: 59.47 kB / 1.166 GB, free: 25.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/1.086, allocations: 464.7 kB / 1.166 GB, free: 25.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/1.086, allocations: 148.9 kB / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.652e-05/1.086, allocations: 24.48 kB / 1.166 GB, free: 25.15 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/1.086, allocations: 25.06 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/1.086, allocations: 0 / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of Templates: time 0.008456/1.095, allocations: 4.039 MB / 1.17 GB, free: 24.68 MB / 1.076 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 -s ida -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/jenkins1/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.643128958996385]