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.001881/0.001881, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002297/0.002297, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.089/3.089, allocations: 0.505 GB / 0.8072 GB, free: 2.18 MB / 0.6387 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.002614/0.002614, allocations: 67.89 kB / 1.173 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 180.2 MB / 1.349 GB, free: 5.34 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003668/1.021, allocations: 1.443 MB / 1.35 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002326/1.023, allocations: 1.535 MB / 1.352 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/1.024, allocations: 3.969 kB / 1.352 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/1.024, allocations: 35.94 kB / 1.352 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/1.024, allocations: 46.47 kB / 1.352 GB, free: 3.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/1.025, allocations: 354.8 kB / 1.352 GB, free: 2.957 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/1.025, allocations: 474.9 kB / 1.353 GB, free: 2.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/1.025, allocations: 138.3 kB / 1.353 GB, free: 2.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/1.026, allocations: 176.3 kB / 1.353 GB, free: 2.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/1.026, allocations: 177.6 kB / 1.353 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/1.026, allocations: 52.5 kB / 1.353 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/1.026, allocations: 70.03 kB / 1.353 GB, free: 2.445 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/1.026, allocations: 77.41 kB / 1.353 GB, free: 2.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/1.026, allocations: 188.1 kB / 1.354 GB, free: 2.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000739/1.027, allocations: 0.5981 MB / 1.354 GB, free: 2.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.027, allocations: 0.7969 kB / 1.354 GB, free: 2.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/1.027, allocations: 0 / 1.354 GB, free: 2.043 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.027, allocations: 1.219 kB / 1.354 GB, free: 2.043 MB / 1.045 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.0008831/1.028, allocations: 0.6645 MB / 1.355 GB, free: 1.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.028, allocations: 13.3 kB / 1.355 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/1.028, allocations: 45.38 kB / 1.355 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/1.029, allocations: 302.7 kB / 1.355 GB, free: 1.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/1.029, allocations: 24.84 kB / 1.355 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/1.029, allocations: 37.98 kB / 1.355 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/1.029, allocations: 238.9 kB / 1.355 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.029, allocations: 4.125 kB / 1.355 GB, free: 1.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.029, allocations: 15.14 kB / 1.355 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.029, allocations: 7.531 kB / 1.355 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/1.029, allocations: 168.8 kB / 1.356 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.031, allocations: 0.9056 MB / 1.356 GB, free: 408 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.031, allocations: 171.8 kB / 1.357 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/1.031, allocations: 71.62 kB / 1.357 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.031, allocations: 7.469 kB / 1.357 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/1.032, allocations: 143.4 kB / 1.357 GB, free: 204 kB / 1.045 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/1.032, allocations: 0 / 1.357 GB, free: 204 kB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.0004844/1.032, allocations: 261.4 kB / 1.357 GB, free: 84 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.032, allocations: 53.94 kB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/1.032, allocations: 265.8 kB / 1.357 GB, free: 15.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/1.032, allocations: 36.2 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/1.033, allocations: 174.4 kB / 1.358 GB, free: 15.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/1.033, allocations: 73.34 kB / 1.358 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.033, allocations: 80.23 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.033, allocations: 337.2 kB / 1.358 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/1.033, allocations: 118.7 kB / 1.358 GB, free: 15.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/1.034, allocations: 170.1 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/1.034, allocations: 269.4 kB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.034, allocations: 1.156 kB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000771/1.035, allocations: 434.8 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/1.035, allocations: 73.73 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.035, allocations: 1.25 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.035, allocations: 2.938 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/1.035, allocations: 34.39 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.035, allocations: 2.266 kB / 1.359 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/1.035, allocations: 88.89 kB / 1.359 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/1.035, allocations: 23.91 kB / 1.359 GB, free: 14.57 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.0001861/1.036, allocations: 151.5 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/1.036, allocations: 23.47 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/1.036, allocations: 222.4 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.036, allocations: 6.562 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.036, allocations: 1.531 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.036, allocations: 1.406 kB / 1.36 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/1.037, allocations: 0.6259 MB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.037, allocations: 0.75 kB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.037, allocations: 28.17 kB / 1.36 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.037, allocations: 1.719 kB / 1.36 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/1.037, allocations: 15.78 kB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/1.037, allocations: 1.891 kB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.037, allocations: 1.5 kB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/1.037, allocations: 322.5 kB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/1.038, allocations: 111.4 kB / 1.361 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/1.038, allocations: 10.91 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.038, allocations: 7.859 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/1.038, allocations: 22.69 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/1.038, allocations: 11.5 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002022/1.038, allocations: 182.4 kB / 1.361 GB, free: 13.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.038, allocations: 0 / 1.361 GB, free: 13.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004037/1.038, allocations: 69.28 kB / 1.361 GB, free: 13.33 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.0001863/1.039, allocations: 123.3 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005949/1.039, allocations: 350.7 kB / 1.361 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.039, allocations: 1.156 kB / 1.361 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/1.039, allocations: 91.25 kB / 1.362 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/1.04, allocations: 81.09 kB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/1.041, allocations: 0.4979 MB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.041, allocations: 0.7612 MB / 1.363 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/1.041, allocations: 26.08 kB / 1.363 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/1.041, allocations: 4 kB / 1.363 GB, free: 11.89 MB / 1.061 GB Notification: Performance of Templates: time 0.007606/1.049, allocations: 3.761 MB / 1.367 GB, free: 11.25 MB / 1.061 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 -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: 12.253108214004897]