Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009644/0.0009644, allocations: 80.88 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.0009551/0.0009551, allocations: 181 kB / 23.36 MB, free: 1.129 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 0.9564/0.9564, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.408/2.408, allocations: 438.8 MB / 0.6826 GB, free: 13.63 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.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.402e-05, allocations: 9.344 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001487/0.001501, allocations: 1.066 MB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.002801, allocations: 1.349 MB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.002901, allocations: 4 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003018, allocations: 19.73 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.003081, allocations: 31.67 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.00346, allocations: 199.5 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.003698, allocations: 303.9 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.003847, allocations: 78.23 kB / 0.8416 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004002, allocations: 183.6 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.004107, allocations: 71.77 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.004141, allocations: 32 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.004204, allocations: 43.97 kB / 0.8419 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.004248, allocations: 51.83 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.004358, allocations: 75.83 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.004578, allocations: 211.3 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00458, allocations: 4 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004581, allocations: 4 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004585, allocations: 0 / 0.8422 GB, free: 10.52 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004736/0.005059, allocations: 437.9 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.005089, allocations: 12.62 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.005137, allocations: 36.89 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.00539, allocations: 178.1 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005409, allocations: 12.7 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.005436, allocations: 32.38 kB / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.00557, allocations: 155.2 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005577, allocations: 192 / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.005588, allocations: 8.312 kB / 0.843 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.005594, allocations: 4.375 kB / 0.843 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.005649, allocations: 56.44 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.006081, allocations: 355.9 kB / 0.8434 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.006189, allocations: 82.45 kB / 0.8435 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.006219, allocations: 28.86 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006227, allocations: 3.984 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.006349, allocations: 144.8 kB / 0.8437 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.093e-06/0.00635, allocations: 0 / 0.8437 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0001566/0.006506, allocations: 132.2 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.006537, allocations: 59.39 kB / 0.8439 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.006621, allocations: 166.5 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.006643, allocations: 33.7 kB / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.006695, allocations: 128.5 kB / 0.8442 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.006719, allocations: 51.66 kB / 0.8442 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.006777, allocations: 61.52 kB / 0.8443 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003671/0.007144, allocations: 326.8 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.007198, allocations: 57.69 kB / 0.8447 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.007281, allocations: 107.4 kB / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.007378, allocations: 130.6 kB / 0.8449 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00738, allocations: 4 kB / 0.8449 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001646/0.007545, allocations: 219.1 kB / 0.8451 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.007572, allocations: 37.69 kB / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.007576, allocations: 0 / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007588, allocations: 4 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.007646, allocations: 23.98 kB / 0.8452 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.00765, allocations: 7.875 kB / 0.8452 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.007741, allocations: 36.03 kB / 0.8452 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.007757, allocations: 11.98 kB / 0.8452 GB, free: 7.184 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 6.75e-05/0.007824, allocations: 125.8 kB / 0.8453 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.007841, allocations: 19.92 kB / 0.8453 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.007865, allocations: 17.8 kB / 0.8454 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.007868, allocations: 4 kB / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007869, allocations: 0 / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.007872, allocations: 0 / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.008117, allocations: 315.3 kB / 0.8457 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008119, allocations: 7.969 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.008147, allocations: 15.98 kB / 0.8457 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.00815, allocations: 0 / 0.8457 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.008163, allocations: 4 kB / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.008165, allocations: 0 / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008166, allocations: 0 / 0.8457 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.008291, allocations: 216.2 kB / 0.8459 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.008321, allocations: 19.84 kB / 0.8459 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.00834, allocations: 4 kB / 0.8459 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.008389, allocations: 11.98 kB / 0.8459 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.008431, allocations: 19.97 kB / 0.846 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.008441, allocations: 11.98 kB / 0.846 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.008477, allocations: 43.31 kB / 0.846 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008478, allocations: 0 / 0.846 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00016/0.008638, allocations: 51.89 kB / 0.8461 GB, free: 6.258 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001034/0.008741, allocations: 95.91 kB / 0.8461 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.008906, allocations: 207.7 kB / 0.8463 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.008908, allocations: 320 / 0.8463 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.008955, allocations: 52.77 kB / 0.8464 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.009113, allocations: 35.91 kB / 0.8464 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.009462, allocations: 320.9 kB / 0.8467 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.009499, allocations: 68 kB / 0.8468 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.009544, allocations: 29.52 kB / 0.8468 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/0.00964, allocations: 91.36 kB / 0.8469 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.009641, allocations: 0 / 0.8469 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of Templates: time 0.004377/0.01402, allocations: 2.846 MB / 0.8497 GB, free: 2.562 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.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.434516610112041]