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.002226/0.002226, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002381/0.002381, allocations: 160 kB / 23.01 MB, free: 4.602 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.522/1.522, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.99/2.99, allocations: 394.2 MB / 0.6386 GB, free: 12.01 MB / 0.6075 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.002164/0.002164, allocations: 67.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 181.8 MB / 1.187 GB, free: 16.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.004145/1.04, allocations: 1.306 MB / 1.188 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003297/1.044, allocations: 1.502 MB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/1.044, allocations: 13.25 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/1.044, allocations: 34.27 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/1.044, allocations: 47.3 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/1.045, allocations: 345.3 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006951/1.046, allocations: 477 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/1.046, allocations: 131 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/1.047, allocations: 183 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/1.047, allocations: 156.1 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/1.047, allocations: 56.19 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/1.047, allocations: 68.98 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/1.047, allocations: 73.5 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/1.048, allocations: 159.5 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/1.049, allocations: 0.5893 MB / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.049, allocations: 0 / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.154e-06/1.049, allocations: 0 / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.62e-05/1.049, allocations: 1.094 kB / 1.192 GB, free: 13.23 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001293/1.05, allocations: 0.5893 MB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.05, allocations: 17.72 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/1.05, allocations: 44.66 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/1.051, allocations: 244.7 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/1.051, allocations: 23.12 kB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/1.051, allocations: 39.2 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/1.052, allocations: 236.2 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.052, allocations: 1.312 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.052, allocations: 14.44 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.052, allocations: 7.344 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/1.052, allocations: 177 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/1.054, allocations: 0.6991 MB / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/1.055, allocations: 174.4 kB / 1.194 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/1.055, allocations: 67.28 kB / 1.194 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/1.055, allocations: 7.578 kB / 1.194 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/1.055, allocations: 140.4 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 2.504e-06/1.055, allocations: 4 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0007261/1.056, allocations: 260.8 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/1.056, allocations: 55.27 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.056, allocations: 224.4 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/1.056, allocations: 39.14 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/1.057, allocations: 183.8 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/1.057, allocations: 71.16 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.057, allocations: 75.33 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.057, allocations: 335.9 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/1.057, allocations: 180.6 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/1.058, allocations: 235.9 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/1.058, allocations: 271.9 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.058, allocations: 1.094 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001057/1.059, allocations: 498.7 kB / 1.196 GB, free: 9.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.089e-05/1.06, allocations: 72.2 kB / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.06, allocations: 5.469 kB / 1.196 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.06, allocations: 7.234 kB / 1.196 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/1.06, allocations: 37.3 kB / 1.196 GB, free: 9.863 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.06, allocations: 2.938 kB / 1.196 GB, free: 9.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/1.06, allocations: 71.5 kB / 1.197 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/1.06, allocations: 20.53 kB / 1.197 GB, free: 9.844 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 (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.0002024/1.061, allocations: 159.3 kB / 1.197 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/1.061, allocations: 21.8 kB / 1.197 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/1.061, allocations: 215.9 kB / 1.197 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.061, allocations: 3.312 kB / 1.197 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.061, allocations: 4.844 kB / 1.197 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.061, allocations: 1.438 kB / 1.197 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/1.062, allocations: 0.5259 MB / 1.197 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.062, allocations: 5.531 kB / 1.197 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/1.062, allocations: 31.73 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.062, allocations: 1.375 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.062, allocations: 4.062 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.063, allocations: 3.344 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.063, allocations: 3.938 kB / 1.197 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/1.063, allocations: 318.8 kB / 1.198 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/1.063, allocations: 28.81 kB / 1.198 GB, free: 8.934 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/1.063, allocations: 3.984 kB / 1.198 GB, free: 8.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/1.063, allocations: 15.75 kB / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.063, allocations: 32.7 kB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.063, allocations: 11.38 kB / 1.198 GB, free: 8.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002083/1.064, allocations: 159.1 kB / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.064, allocations: 0 / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006454/1.064, allocations: 76.34 kB / 1.198 GB, free: 8.789 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 (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.0002203/1.065, allocations: 114.6 kB / 1.198 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008103/1.065, allocations: 412.3 kB / 1.199 GB, free: 8.414 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.065, allocations: 4.062 kB / 1.199 GB, free: 8.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.066, allocations: 83.11 kB / 1.199 GB, free: 8.383 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/1.066, allocations: 61.69 kB / 1.199 GB, free: 8.359 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.067, allocations: 480.1 kB / 1.199 GB, free: 8.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/1.068, allocations: 154.8 kB / 1.199 GB, free: 7.953 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001516/1.068, allocations: 27.64 kB / 1.199 GB, free: 7.949 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/1.068, allocations: 27.12 kB / 1.199 GB, free: 7.938 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/1.068, allocations: 0 / 1.199 GB, free: 7.938 MB / 1.076 GB Notification: Performance of Templates: time 0.01506/1.083, allocations: 4.056 MB / 1.203 GB, free: 7.473 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 -s ida -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: 9.570255990955047]