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.00133/0.00133, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00146/0.00146, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.344e-06/2.344e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.395e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002122/0.002146, allocations: 1.037 MB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003388, allocations: 1.299 MB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003497, allocations: 8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003615, allocations: 23.67 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.003668, allocations: 27.69 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.004089, allocations: 206.9 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.004324, allocations: 303.9 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.004476, allocations: 76.47 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.00461, allocations: 175.7 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004721, allocations: 79.75 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.004754, allocations: 40 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.004818, allocations: 43.97 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.004856, allocations: 51.83 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.004931, allocations: 87.81 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.005244, allocations: 402.8 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005247, allocations: 0 / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005248, allocations: 4 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.005252, allocations: 0 / 1.005 GB, free: 9.152 MB / 0.9636 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.0006617/0.005914, allocations: 467.3 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.005953, allocations: 12.03 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.006014, allocations: 28.8 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.00635, allocations: 218.4 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.006372, allocations: 16.7 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.006405, allocations: 20.38 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.006833, allocations: 198.4 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.006846, allocations: 192 / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.006874, allocations: 8.312 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.006883, allocations: 4.375 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.007136, allocations: 112.2 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.007844, allocations: 0.5 MB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.008038, allocations: 130.6 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.008105, allocations: 52.86 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.008114, allocations: 4 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.0083, allocations: 170.6 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.008302, allocations: 0 / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0003505/0.008652, allocations: 243 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.00869, allocations: 51.41 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.008807, allocations: 175.8 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.008829, allocations: 33.7 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.008907, allocations: 148.4 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.008932, allocations: 39.66 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.008999, allocations: 57.69 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.009086, allocations: 330.8 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.009199, allocations: 101.6 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.009329, allocations: 150.8 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.009493, allocations: 180.5 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.009495, allocations: 0 / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002974/0.009793, allocations: 308.7 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.009821, allocations: 37.69 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009826, allocations: 160 / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.009837, allocations: 8 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.009906, allocations: 23.94 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.009912, allocations: 0 / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01004, allocations: 43.84 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01006, allocations: 12 kB / 1.008 GB, free: 5.07 MB / 0.9636 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 9.659e-05/0.01015, allocations: 145.8 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.01017, allocations: 19.84 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.0102, allocations: 21.81 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.0102, allocations: 0 / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.01021, allocations: 3.984 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01021, allocations: 0 / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.01063, allocations: 481.1 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01063, allocations: 0 / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.01066, allocations: 12 kB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01066, allocations: 0 / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01067, allocations: 3.984 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.01068, allocations: 11.94 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01068, allocations: 4.031 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.01088, allocations: 288.7 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.01092, allocations: 31.83 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01094, allocations: 11.98 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.01101, allocations: 4 kB / 1.009 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.01106, allocations: 23.95 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01107, allocations: 12 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.706e-05/0.01114, allocations: 128.2 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01114, allocations: 0 / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002003/0.01134, allocations: 55.88 kB / 1.01 GB, free: 3.766 MB / 0.9636 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.0001186/0.01146, allocations: 121 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.01173, allocations: 248.9 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01173, allocations: 0 / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.01181, allocations: 67.91 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01205, allocations: 40.28 kB / 1.01 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.0125, allocations: 372.9 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01258, allocations: 112.9 kB / 1.01 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.01261, allocations: 20.5 kB / 1.011 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.01262, allocations: 4 kB / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of Templates: time 0.003172/0.01579, allocations: 2.622 MB / 1.013 GB, free: 128 kB / 0.9636 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: 6.476828568615019]