Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.0008692/0.0008692, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002005, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007019/0.0007019, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009167/0.001619, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9745/0.9745, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1153/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5844/2.514, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0.5469 kB / 0.7296 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.694e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002079/0.002106, allocations: 1.098 MB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003342, allocations: 1.294 MB / 0.732 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.003453, allocations: 4 kB / 0.732 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.325e-05/0.003537, allocations: 23.61 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.003591, allocations: 25.61 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.003956, allocations: 176.4 kB / 0.7322 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.004211, allocations: 261.8 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.004343, allocations: 74.17 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.004488, allocations: 151.8 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004598, allocations: 68.28 kB / 0.7327 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.00463, allocations: 24.69 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.004713, allocations: 47.92 kB / 0.7328 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.004747, allocations: 33.22 kB / 0.7328 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.004802, allocations: 55.88 kB / 0.7329 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005012, allocations: 155.5 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.005025, allocations: 4.531 kB / 0.733 GB, free: 1.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005026, allocations: 0 / 0.733 GB, free: 1.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.005036, allocations: 1.594 kB / 0.733 GB, free: 1.027 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005614/0.005598, allocations: 445.3 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.00563, allocations: 8.031 kB / 0.7335 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.005687, allocations: 29.86 kB / 0.7335 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.00588, allocations: 171.9 kB / 0.7336 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.005908, allocations: 12.88 kB / 0.7337 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.005932, allocations: 21.95 kB / 0.7337 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.006078, allocations: 134.1 kB / 0.7338 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.006084, allocations: 192 / 0.7338 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.006096, allocations: 12.38 kB / 0.7338 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.006102, allocations: 5.188 kB / 0.7338 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.006147, allocations: 44.44 kB / 0.7339 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.006589, allocations: 320.9 kB / 0.7342 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.006727, allocations: 68.2 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.006752, allocations: 20.86 kB / 0.7343 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.00676, allocations: 0 / 0.7343 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.006878, allocations: 112.9 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.00688, allocations: 1.219 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001397/0.007019, allocations: 81.78 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.007051, allocations: 55.41 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.00714, allocations: 166.2 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.007159, allocations: 29.7 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.007217, allocations: 133.5 kB / 0.7348 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.007234, allocations: 27.73 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.007283, allocations: 45.67 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.007359, allocations: 327.6 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.00741, allocations: 57.69 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.007466, allocations: 77.03 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.007548, allocations: 108.2 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00755, allocations: 0.9062 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001506/0.007701, allocations: 185.6 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.007738, allocations: 41.69 kB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.007746, allocations: 5.359 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007758, allocations: 0 / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.00785, allocations: 23.92 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.007853, allocations: 0 / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.007945, allocations: 33.66 kB / 0.7357 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.007959, allocations: 7.984 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 7.329e-05/0.008032, allocations: 119.2 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.008045, allocations: 11.92 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.008072, allocations: 16.78 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.008075, allocations: 5.25 kB / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.008076, allocations: 0 / 0.7359 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.008079, allocations: 3.938 kB / 0.7359 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.008184, allocations: 109.8 kB / 0.736 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008185, allocations: 1.25 kB / 0.736 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.008224, allocations: 12 kB / 0.736 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.008237, allocations: 11.91 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.00824, allocations: 4.969 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.00825, allocations: 11.98 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008251, allocations: 0 / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008252, allocations: 0.5312 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.185e-05/0.008344, allocations: 94.25 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.008358, allocations: 4 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.008388, allocations: 15.86 kB / 0.7361 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.008421, allocations: 12.7 kB / 0.7361 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.008428, allocations: 7.984 kB / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.008459, allocations: 32.45 kB / 0.7362 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008459, allocations: 0 / 0.7362 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001353/0.008595, allocations: 43.89 kB / 0.7362 GB, free: 13.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001292/0.008724, allocations: 98.25 kB / 0.7363 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.008888, allocations: 166.5 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.008897, allocations: 4 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.008941, allocations: 37.38 kB / 0.7365 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.009146, allocations: 239.7 kB / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.00968, allocations: 263.3 kB / 0.737 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.009724, allocations: 72.12 kB / 0.737 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.009771, allocations: 15.98 kB / 0.7371 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.009871, allocations: 83.34 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.009872, allocations: 0 / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.004535/0.01441, allocations: 2.52 MB / 0.7396 GB, free: 10.11 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.081734585575759]