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.001298/0.001298, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001524/0.001524, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.095/3.095, allocations: 0.49 GB / 0.7958 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002081/0.002081, allocations: 66.27 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002445/0.3569, allocations: 1.076 MB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3586, allocations: 1.295 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3587, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.3588, allocations: 19.73 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.3589, allocations: 23.75 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.3595, allocations: 183.4 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.3598, allocations: 256 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.36, allocations: 80.83 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3601, allocations: 99.64 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3602, allocations: 95.59 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.3603, allocations: 31.98 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.3604, allocations: 39.98 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.3604, allocations: 35.92 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3605, allocations: 107.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.3609, allocations: 318.8 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3609, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3609, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3609, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 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.0007818/0.3617, allocations: 451.1 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3617, allocations: 8.031 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.3618, allocations: 20.84 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3621, allocations: 199.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3622, allocations: 12.38 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.3622, allocations: 20.38 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.3625, allocations: 138 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3625, allocations: 4.188 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.3625, allocations: 11.94 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3625, allocations: 4 kB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3627, allocations: 83.97 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.3636, allocations: 0.5613 MB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3638, allocations: 86.5 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.3639, allocations: 36.89 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3639, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3641, allocations: 83.38 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3641, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003165/0.3644, allocations: 145.6 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3644, allocations: 55.41 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3646, allocations: 202.3 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3647, allocations: 33.7 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.3648, allocations: 128 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3648, allocations: 31.7 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.3649, allocations: 45.69 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.365, allocations: 326.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3652, allocations: 59.97 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3653, allocations: 82.55 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3655, allocations: 132.1 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3655, allocations: 0 / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003689/0.3658, allocations: 219.6 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.3659, allocations: 37.69 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3659, allocations: 4 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3659, allocations: 4.062 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.366, allocations: 15.94 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.366, allocations: 3.984 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3662, allocations: 39.86 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3662, allocations: 8 kB / 1.334 GB, free: 10.35 MB / 1.029 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 0.0001331/0.3664, allocations: 140.2 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3664, allocations: 15.91 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.3664, allocations: 17.41 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3664, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3665, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3665, allocations: 7.922 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3667, allocations: 216.6 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3667, allocations: 0 / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.3667, allocations: 19.92 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3667, allocations: 3.984 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3668, allocations: 8 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3668, allocations: 4 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3668, allocations: 0 / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.367, allocations: 141 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.367, allocations: 19.84 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.367, allocations: 3.984 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3671, allocations: 8 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3671, allocations: 15.97 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3671, allocations: 3.938 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001305/0.3673, allocations: 152.4 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3673, allocations: 0 / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002504/0.3675, allocations: 39.83 kB / 1.335 GB, free: 9.469 MB / 1.029 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.0001574/0.3677, allocations: 111.2 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.368, allocations: 167.3 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.368, allocations: 4 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.3681, allocations: 32.11 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3683, allocations: 27.98 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.3689, allocations: 309.5 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3692, allocations: 0.7239 MB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.3693, allocations: 19.44 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3693, allocations: 0 / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of Templates: time 0.00446/0.3737, allocations: 2.276 MB / 1.338 GB, free: 5.758 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.953563560993643]