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.00187/0.00187, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002496/0.002496, allocations: 211 kB / 22.99 MB, free: 4.957 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.251/3.251, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002753/0.002753, allocations: 70.03 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4237, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002599/0.4263, allocations: 1.008 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4281, allocations: 1.264 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.4283, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.4284, allocations: 19.73 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.4285, allocations: 23.75 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.4291, allocations: 185.3 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.4294, allocations: 259.9 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.4297, allocations: 80.83 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4298, allocations: 91.77 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4299, allocations: 91.59 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.43, allocations: 28 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.4301, allocations: 43.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.4301, allocations: 43.78 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4302, allocations: 87.64 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.4307, allocations: 318.8 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4307, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4307, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4307, allocations: 4 kB / 1.331 GB, free: 13.45 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.0008516/0.4315, allocations: 439.1 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4316, allocations: 16.03 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.4317, allocations: 16.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.4321, allocations: 203 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4321, allocations: 12.38 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.4322, allocations: 16.38 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.4325, allocations: 167.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4325, allocations: 4.125 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4325, allocations: 11.94 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4325, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.4327, allocations: 91.91 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/0.4336, allocations: 463.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.4339, allocations: 86.53 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.4339, allocations: 32.86 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4339, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.4341, allocations: 117.1 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.4341, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003489/0.4345, allocations: 153.6 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4345, allocations: 51.41 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4347, allocations: 169.4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.4348, allocations: 33.7 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4349, allocations: 144.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4349, allocations: 31.73 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.435, allocations: 37.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4352, allocations: 330.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.4353, allocations: 89.67 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4355, allocations: 110.1 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4357, allocations: 137.6 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4357, allocations: 0 / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004225/0.4361, allocations: 252.9 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.4362, allocations: 33.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4362, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4362, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.4363, allocations: 19.92 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4363, allocations: 4 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4365, allocations: 32.03 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.4365, allocations: 7.984 kB / 1.334 GB, free: 9.953 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.0001425/0.4367, allocations: 136.5 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4367, allocations: 19.84 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.4368, allocations: 12.72 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4368, allocations: 4 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4368, allocations: 0 / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4368, allocations: 3.984 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.437, allocations: 177.1 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.437, allocations: 4 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.437, allocations: 15.92 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.437, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4371, allocations: 4 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4371, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4371, allocations: 4 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.4373, allocations: 137 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.4373, allocations: 7.953 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.4373, allocations: 11.92 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.4374, allocations: 4 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.4375, allocations: 19.97 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4375, allocations: 4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000118/0.4376, allocations: 120.6 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4376, allocations: 3.938 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002475/0.4378, allocations: 43.84 kB / 1.334 GB, free: 9.168 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.0001848/0.438, allocations: 115.2 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.4384, allocations: 197.7 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4384, allocations: 128 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.4385, allocations: 44.14 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4387, allocations: 38.12 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.4393, allocations: 279.5 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4395, allocations: 107.9 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.4395, allocations: 13.08 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.4396, allocations: 19.44 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4396, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of Templates: time 0.006519/0.4461, allocations: 2.397 MB / 1.338 GB, free: 6 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 -s gbode -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: 9.56347417399229]