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.001324/0.001324, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001486/0.001486, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.361/2.361, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.867e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.001809/0.001828, allocations: 1.328 MB / 0.8399 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.00345, allocations: 1.571 MB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.003587, allocations: 4 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.003723, allocations: 39.47 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.003808, allocations: 51.59 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.004351, allocations: 335.1 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.004694, allocations: 480.1 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.004876, allocations: 133.6 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.005078, allocations: 263.5 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005227, allocations: 131.5 kB / 0.8428 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.005272, allocations: 52 kB / 0.8429 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.005357, allocations: 71.97 kB / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.005403, allocations: 71.77 kB / 0.843 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.005492, allocations: 139.6 kB / 0.8431 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.005776, allocations: 344.8 kB / 0.8435 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005778, allocations: 0 / 0.8435 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005778, allocations: 0 / 0.8435 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.005782, allocations: 0 / 0.8435 GB, free: 9.207 MB / 0.8073 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.0005657/0.006348, allocations: 0.554 MB / 0.844 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.006379, allocations: 12.62 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.006503, allocations: 52.89 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.006725, allocations: 202.2 kB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.006752, allocations: 29.02 kB / 0.8443 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.006786, allocations: 32.38 kB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.006958, allocations: 187.3 kB / 0.8445 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006967, allocations: 192 / 0.8445 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.006981, allocations: 8.375 kB / 0.8445 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.006989, allocations: 8.375 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.007062, allocations: 68.48 kB / 0.8446 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.007699, allocations: 0.5376 MB / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.007898, allocations: 118.3 kB / 0.8452 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.007935, allocations: 36.78 kB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.007951, allocations: 4 kB / 0.8453 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.008056, allocations: 111.2 kB / 0.8454 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.008057, allocations: 0 / 0.8454 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0001794/0.008236, allocations: 141.4 kB / 0.8455 GB, free: 7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.008266, allocations: 55.41 kB / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.008383, allocations: 219.3 kB / 0.8458 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.008409, allocations: 33.7 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.008485, allocations: 176.4 kB / 0.846 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.008523, allocations: 75.39 kB / 0.846 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.008602, allocations: 81.88 kB / 0.8461 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.008678, allocations: 330.8 kB / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.008774, allocations: 123.3 kB / 0.8465 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.00889, allocations: 184.2 kB / 0.8467 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.00904, allocations: 222.9 kB / 0.8469 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009042, allocations: 0 / 0.8469 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000263/0.009305, allocations: 353.5 kB / 0.8473 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.009343, allocations: 67.64 kB / 0.8473 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.009348, allocations: 8 kB / 0.8473 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.009361, allocations: 4 kB / 0.8473 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.009443, allocations: 39.92 kB / 0.8474 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009448, allocations: 4 kB / 0.8474 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.009586, allocations: 55.8 kB / 0.8474 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.009609, allocations: 19.98 kB / 0.8475 GB, free: 4.805 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (33): * Single equations (assignments): 31 * 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 8.597e-05/0.009695, allocations: 137.8 kB / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.009714, allocations: 23.92 kB / 0.8476 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.009857, allocations: 126.7 kB / 0.8477 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.009859, allocations: 4 kB / 0.8477 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.009861, allocations: 0 / 0.8477 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009864, allocations: 0 / 0.8477 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.01013, allocations: 374.7 kB / 0.8481 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01013, allocations: 0 / 0.8481 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.01018, allocations: 28.03 kB / 0.8481 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01019, allocations: 3.984 kB / 0.8481 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.0102, allocations: 8 kB / 0.8481 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0102, allocations: 0 / 0.8481 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.0102, allocations: 4 kB / 0.8481 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.01034, allocations: 233.9 kB / 0.8484 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.01036, allocations: 27.8 kB / 0.8484 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01038, allocations: 12 kB / 0.8484 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.01043, allocations: 3.984 kB / 0.8484 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.01047, allocations: 23.95 kB / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.01048, allocations: 15.92 kB / 0.8484 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.637e-05/0.01052, allocations: 63.42 kB / 0.8485 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01052, allocations: 0 / 0.8485 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002024/0.01073, allocations: 75.88 kB / 0.8486 GB, free: 3.59 MB / 0.8073 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.0001078/0.01083, allocations: 102 kB / 0.8487 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.01109, allocations: 344.1 kB / 0.849 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01109, allocations: 4.5 kB / 0.849 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.01115, allocations: 64.69 kB / 0.8491 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01137, allocations: 60.67 kB / 0.8491 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.01187, allocations: 438.8 kB / 0.8495 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01192, allocations: 92.2 kB / 0.8496 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.238e-05/0.01198, allocations: 26.28 kB / 0.8496 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.01213, allocations: 115.3 kB / 0.8498 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.01213, allocations: 4 kB / 0.8498 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of Templates: time 0.005816/0.01794, allocations: 4.382 MB / 0.854 GB, free: 14.03 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.364631043281406]