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.001752/0.001752, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002148/0.002148, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.951/2.951, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 3.447e-06/3.447e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.993e-05/5.338e-05, allocations: 4.953 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.004246/0.004299, allocations: 1.053 MB / 1.001 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.007573, allocations: 1.279 MB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.007857, allocations: 4 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.008135, allocations: 27.67 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.008325, allocations: 35.72 kB / 1.002 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.00956, allocations: 206.6 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00078/0.01034, allocations: 307.9 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.01072, allocations: 71.66 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.01119, allocations: 171.7 kB / 1.003 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.01151, allocations: 79.75 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.01165, allocations: 36 kB / 1.003 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.01186, allocations: 47.98 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.01197, allocations: 51.81 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.01223, allocations: 91.81 kB / 1.004 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009805/0.01321, allocations: 406.7 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.01322, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.304e-06/0.01322, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.01324, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 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.002031/0.01527, allocations: 467.4 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.01534, allocations: 15.92 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.01553, allocations: 28.8 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/0.01641, allocations: 206.4 kB / 1.005 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.01647, allocations: 16.7 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/0.01657, allocations: 28.36 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.01725, allocations: 190.4 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.01727, allocations: 192 / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.01732, allocations: 16.3 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01733, allocations: 4.375 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.01777, allocations: 108.2 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.01956, allocations: 0.5039 MB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.02006, allocations: 130.7 kB / 1.006 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.02026, allocations: 56.78 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.02028, allocations: 0 / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.02074, allocations: 167.4 kB / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 2.815e-06/0.02074, allocations: 0 / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0009193/0.02166, allocations: 229.5 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.02176, allocations: 63.39 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.0221, allocations: 170.3 kB / 1.006 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.02221, allocations: 41.69 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.0224, allocations: 136.5 kB / 1.006 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.02249, allocations: 47.62 kB / 1.006 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.02271, allocations: 57.69 kB / 1.006 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.02296, allocations: 326.8 kB / 1.007 GB, free: 288 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.0233, allocations: 101.6 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.0237, allocations: 146.8 kB / 1.007 GB, free: 8 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.02424, allocations: 189 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.02425, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009635/0.02521, allocations: 300.8 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/0.02529, allocations: 37.7 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.02531, allocations: 4 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.02534, allocations: 4 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.02553, allocations: 23.92 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.02555, allocations: 4.156 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.02602, allocations: 47.84 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.02607, allocations: 8 kB / 1.008 GB, free: 15.35 MB / 0.9669 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.0002843/0.02635, allocations: 142.3 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.02642, allocations: 27.81 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.02651, allocations: 21.81 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.02651, allocations: 0 / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.02652, allocations: 4 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.02653, allocations: 4 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.02775, allocations: 477.8 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.02775, allocations: 4 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.02784, allocations: 12 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02785, allocations: 0 / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.02788, allocations: 7.984 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.02789, allocations: 3.938 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02789, allocations: 0 / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.02859, allocations: 294 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.02871, allocations: 27.83 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.02876, allocations: 8.031 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.02897, allocations: 19.92 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.02907, allocations: 15.97 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.0291, allocations: 11.98 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001945/0.0293, allocations: 128.2 kB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.0293, allocations: 0 / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006245/0.02992, allocations: 51.89 kB / 1.009 GB, free: 14.05 MB / 0.9669 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.0003083/0.03023, allocations: 115.2 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007859/0.03102, allocations: 260.8 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03102, allocations: 0 / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.03125, allocations: 67.84 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.03188, allocations: 31.97 kB / 1.009 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.03302, allocations: 333.6 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.03324, allocations: 124.9 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.03335, allocations: 17.48 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.03344, allocations: 20.5 kB / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.03344, allocations: 0 / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of Templates: time 0.01241/0.04585, allocations: 2.671 MB / 1.012 GB, free: 10.45 MB / 0.9669 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: 8.421886254101992]