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.001708/0.001708, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002088/0.002088, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.304/3.304, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 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.00214/0.00214, allocations: 70.67 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.357, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002407/0.3594, allocations: 1.041 MB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3611, allocations: 1.302 MB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3613, allocations: 4 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3614, allocations: 23.73 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.3615, allocations: 35.66 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.362, allocations: 194.4 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.3624, allocations: 299.9 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3626, allocations: 79.67 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3627, allocations: 115.6 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3629, allocations: 99.56 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.3629, allocations: 32 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.363, allocations: 47.98 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.3631, allocations: 51.84 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3632, allocations: 95.58 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.3636, allocations: 382.6 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3636, allocations: 3.938 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3636, allocations: 0 / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3636, allocations: 0 / 1.368 GB, free: 9.793 MB / 1.061 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.0008238/0.3644, allocations: 479.3 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3645, allocations: 8.031 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.3645, allocations: 28.8 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.3649, allocations: 211.1 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.365, allocations: 12.7 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.365, allocations: 28.36 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.3653, allocations: 186.5 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3653, allocations: 192 / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.3654, allocations: 23.92 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3654, allocations: 4 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3656, allocations: 104.2 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.3665, allocations: 0.4883 MB / 1.37 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3667, allocations: 130.7 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.3668, allocations: 56.83 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3669, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3671, allocations: 168.9 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3671, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0004581/0.3676, allocations: 239.7 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3676, allocations: 55.39 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3678, allocations: 178.8 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3678, allocations: 33.7 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3679, allocations: 144.4 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.368, allocations: 43.69 kB / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3681, allocations: 65.58 kB / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3682, allocations: 334.8 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3684, allocations: 101.7 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3686, allocations: 143.5 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.3688, allocations: 180.4 kB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3688, allocations: 4 kB / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004786/0.3693, allocations: 300.8 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.3694, allocations: 37.7 kB / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3694, allocations: 0 / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3694, allocations: 4 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3695, allocations: 19.98 kB / 1.372 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3695, allocations: 3.938 kB / 1.372 GB, free: 5.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3697, allocations: 47.84 kB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3698, allocations: 12 kB / 1.372 GB, free: 5.719 MB / 1.061 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.0001524/0.3699, allocations: 149.8 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.3699, allocations: 15.91 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.37, allocations: 21.81 kB / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.37, allocations: 0 / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.37, allocations: 0 / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.37, allocations: 3.938 kB / 1.372 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.3706, allocations: 478.8 kB / 1.373 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3706, allocations: 0 / 1.373 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.3707, allocations: 12 kB / 1.373 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3707, allocations: 4.031 kB / 1.373 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3707, allocations: 7.984 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3707, allocations: 0 / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3707, allocations: 0 / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.371, allocations: 297.9 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3711, allocations: 27.83 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3711, allocations: 8 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3713, allocations: 11.98 kB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.3713, allocations: 23.89 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3713, allocations: 12 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001035/0.3715, allocations: 127.2 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003059/0.3718, allocations: 59.78 kB / 1.373 GB, free: 4.414 MB / 1.061 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.0001664/0.3719, allocations: 116.3 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.3723, allocations: 256.8 kB / 1.374 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3723, allocations: 0 / 1.374 GB, free: 4.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3725, allocations: 64.23 kB / 1.374 GB, free: 3.957 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3728, allocations: 54.08 kB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.3735, allocations: 366.3 kB / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3736, allocations: 128.9 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3736, allocations: 19.44 kB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3736, allocations: 0 / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of Templates: time 0.004731/0.3784, allocations: 2.62 MB / 1.377 GB, free: 0.7578 MB / 1.061 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=800 -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: 11.480583892669529]