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.001488/0.001488, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001684/0.001684, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.934/2.934, allocations: 394.2 MB / 0.6387 GB, free: 11.93 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.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: 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.002156/0.002156, allocations: 63.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002516/1.095, allocations: 1.046 MB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001691/1.097, allocations: 1.3 MB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/1.097, allocations: 3.281 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/1.097, allocations: 24.47 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/1.097, allocations: 26.52 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/1.098, allocations: 204.1 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000373/1.098, allocations: 296.4 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/1.098, allocations: 80.41 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/1.099, allocations: 114.5 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/1.099, allocations: 104.9 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/1.099, allocations: 36.97 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/1.099, allocations: 47.09 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/1.099, allocations: 46.09 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/1.099, allocations: 106 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/1.1, allocations: 378.4 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.1, allocations: 0 / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.963e-06/1.1, allocations: 0.75 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.1, allocations: 0 / 1.19 GB, free: 13.86 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008511/1.101, allocations: 480.5 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.101, allocations: 10.03 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/1.101, allocations: 27.62 kB / 1.191 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/1.101, allocations: 201.5 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/1.101, allocations: 15.7 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/1.101, allocations: 25.62 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/1.102, allocations: 190.5 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/1.102, allocations: 1.312 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/1.102, allocations: 13.22 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.102, allocations: 5.531 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/1.102, allocations: 114.5 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/1.103, allocations: 497.4 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/1.103, allocations: 133 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/1.103, allocations: 48.56 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/1.103, allocations: 2.344 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/1.103, allocations: 179.6 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/1.103, allocations: 0 / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=17): time 0.0005032/1.104, allocations: 236.4 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/1.104, allocations: 55.03 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.104, allocations: 181 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/1.104, allocations: 33.08 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/1.104, allocations: 135.4 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/1.104, allocations: 45.72 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.104, allocations: 60.48 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/1.104, allocations: 327.6 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.104, allocations: 104.2 kB / 1.193 GB, free: 11.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/1.105, allocations: 151.7 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/1.105, allocations: 176.2 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.105, allocations: 0 / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004691/1.105, allocations: 298.9 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/1.105, allocations: 43.34 kB / 1.194 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.105, allocations: 5.094 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.105, allocations: 2.906 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/1.106, allocations: 26.17 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.106, allocations: 2.094 kB / 1.194 GB, free: 11.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/1.106, allocations: 44.06 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.106, allocations: 11.33 kB / 1.194 GB, free: 11.14 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: 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 0.000117/1.106, allocations: 153.9 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/1.106, allocations: 17.64 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/1.106, allocations: 18.28 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.106, allocations: 2.625 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.106, allocations: 0.6562 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.106, allocations: 0.5625 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/1.107, allocations: 480.4 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.107, allocations: 3.984 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/1.107, allocations: 15.14 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/1.107, allocations: 1.547 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/1.107, allocations: 7.594 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.107, allocations: 2.031 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.107, allocations: 4.594 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/1.107, allocations: 294 kB / 1.195 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/1.107, allocations: 27.86 kB / 1.195 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/1.107, allocations: 8.875 kB / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.107, allocations: 8.562 kB / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/1.107, allocations: 24.64 kB / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/1.107, allocations: 11.25 kB / 1.195 GB, free: 10.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.928e-05/1.107, allocations: 127.4 kB / 1.195 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 4 kB / 1.195 GB, free: 10.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003257/1.108, allocations: 59.67 kB / 1.195 GB, free: 10.27 MB / 1.076 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.0001569/1.108, allocations: 122.6 kB / 1.195 GB, free: 10.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004071/1.108, allocations: 244.3 kB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.108, allocations: 0 / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.108, allocations: 67.11 kB / 1.196 GB, free: 9.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/1.109, allocations: 38.69 kB / 1.196 GB, free: 9.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/1.109, allocations: 349.3 kB / 1.196 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/1.11, allocations: 121.2 kB / 1.196 GB, free: 9.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.259e-05/1.11, allocations: 16.95 kB / 1.196 GB, free: 9.656 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/1.11, allocations: 19.41 kB / 1.196 GB, free: 9.648 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/1.11, allocations: 0 / 1.196 GB, free: 9.648 MB / 1.076 GB Notification: Performance of Templates: time 0.007428/1.117, allocations: 2.678 MB / 1.199 GB, free: 9.359 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.568970499909483]