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.001828/0.001828, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.002207/0.002207, allocations: 219.7 kB / 22.29 MB, free: 5.148 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.608/1.608, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.442/3.442, allocations: 0.5096 GB / 0.8148 GB, free: 18.43 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.002086/0.002086, allocations: 67.55 kB / 1.184 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4639, allocations: 181.4 MB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.003184/0.4671, allocations: 1.047 MB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.4693, allocations: 1.291 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.4695, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.4697, allocations: 23.67 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.4698, allocations: 27.73 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.4704, allocations: 199.6 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.4708, allocations: 299.9 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.4711, allocations: 83.66 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4712, allocations: 107.7 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.4714, allocations: 103.5 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.4715, allocations: 32 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4716, allocations: 51.92 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.4716, allocations: 51.84 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.4718, allocations: 95.62 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.4723, allocations: 382.5 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4723, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4723, allocations: 0 / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4723, allocations: 0 / 1.365 GB, free: 11.85 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.0009879/0.4733, allocations: 483.3 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4733, allocations: 8.031 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.4734, allocations: 28.8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.4739, allocations: 207.1 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.474, allocations: 12.7 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.474, allocations: 32.36 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.4744, allocations: 182.5 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4744, allocations: 4.125 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.4744, allocations: 19.92 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4745, allocations: 4 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.4747, allocations: 108.2 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4757, allocations: 500 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.476, allocations: 134.7 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4761, allocations: 48.84 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.4761, allocations: 0 / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.4765, allocations: 172.8 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.4765, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0005364/0.477, allocations: 239.5 kB / 1.367 GB, free: 9.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4771, allocations: 55.39 kB / 1.367 GB, free: 9.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4773, allocations: 175.8 kB / 1.367 GB, free: 9.324 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.4773, allocations: 37.64 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4774, allocations: 136.5 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.4775, allocations: 51.62 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4776, allocations: 57.69 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4777, allocations: 330.8 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4779, allocations: 109.6 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.4781, allocations: 142.8 kB / 1.368 GB, free: 8.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.4784, allocations: 176.6 kB / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4784, allocations: 0 / 1.368 GB, free: 8.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004883/0.4789, allocations: 300.9 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4789, allocations: 37.7 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4789, allocations: 0 / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4789, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.479, allocations: 23.92 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4791, allocations: 4 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.4793, allocations: 47.84 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.4793, allocations: 8 kB / 1.369 GB, free: 7.785 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.0001651/0.4795, allocations: 154.4 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4795, allocations: 19.89 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.4796, allocations: 17.81 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4796, allocations: 0 / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4796, allocations: 0 / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4796, allocations: 4 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.4802, allocations: 478.7 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4802, allocations: 0 / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.4803, allocations: 12 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4803, allocations: 4.031 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4803, allocations: 11.98 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4803, allocations: 3.938 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4803, allocations: 0 / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4807, allocations: 294 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.4808, allocations: 31.83 kB / 1.37 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.4808, allocations: 8 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4809, allocations: 11.98 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.481, allocations: 19.91 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.481, allocations: 15.98 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001159/0.4811, allocations: 128.2 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4811, allocations: 0 / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003128/0.4815, allocations: 55.89 kB / 1.37 GB, free: 6.477 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.0002098/0.4817, allocations: 124 kB / 1.37 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.4821, allocations: 251.4 kB / 1.37 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4821, allocations: 0 / 1.37 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4822, allocations: 64.17 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4826, allocations: 40.02 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.4834, allocations: 348.5 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.4835, allocations: 124.9 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.4836, allocations: 17.48 kB / 1.371 GB, free: 5.453 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.4836, allocations: 15.44 kB / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4836, allocations: 0 / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of Templates: time 0.007474/0.4911, allocations: 2.842 MB / 1.374 GB, free: 2.691 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/jenkins/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: 10.051154665648937]