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.002071/0.002071, 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.002356/0.002356, allocations: 207.7 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.54/1.54, 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 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.409/3.409, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002057/0.002057, allocations: 76.39 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4785, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002738/0.4813, allocations: 1.021 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.4834, allocations: 1.26 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.4836, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.4838, allocations: 23.73 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.4839, allocations: 23.75 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.4845, allocations: 191.1 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.4849, allocations: 252 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.4851, allocations: 80.83 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.4852, allocations: 95.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.4854, allocations: 99.59 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.4854, allocations: 28 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.4855, allocations: 39.97 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.4856, allocations: 47.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4857, allocations: 83.64 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.4861, allocations: 314.8 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.4862, allocations: 8 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4862, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.4862, allocations: 0 / 1.331 GB, free: 13.44 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.0009297/0.4871, allocations: 447.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4871, allocations: 12.03 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.4872, allocations: 20.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.4877, allocations: 191 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.4877, allocations: 12.38 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.4878, allocations: 16.38 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.4881, allocations: 167.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4881, allocations: 192 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.4881, allocations: 11.94 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4881, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.4883, allocations: 91.91 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.4892, allocations: 459.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.4895, allocations: 90.53 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.4895, allocations: 32.86 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4896, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.4897, allocations: 117 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.4898, allocations: 7.938 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000343/0.4901, allocations: 141.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4901, allocations: 51.41 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4903, allocations: 172.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4904, allocations: 29.7 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4905, allocations: 144.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.4905, allocations: 31.73 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.4906, allocations: 41.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4908, allocations: 330.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4909, allocations: 89.67 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.4911, allocations: 108.2 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4913, allocations: 132.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4913, allocations: 3.984 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004063/0.4917, allocations: 260.9 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.4917, allocations: 33.7 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4917, allocations: 4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4917, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.4918, allocations: 19.92 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4918, allocations: 0 / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.492, allocations: 36.03 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.4921, allocations: 11.98 kB / 1.334 GB, free: 9.941 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.0001468/0.4922, allocations: 134.3 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.4923, allocations: 11.91 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.4923, allocations: 20.7 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4923, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4923, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4923, allocations: 3.984 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.4925, allocations: 177.1 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4925, allocations: 0 / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.4926, allocations: 15.92 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4926, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4926, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4926, allocations: 4 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4926, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.4928, allocations: 140.9 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.4928, allocations: 11.95 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.4929, allocations: 3.984 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.4929, allocations: 8 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.493, allocations: 15.97 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.493, allocations: 4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001085/0.4931, allocations: 125.9 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4931, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002446/0.4934, allocations: 51.72 kB / 1.334 GB, free: 9.16 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.0001686/0.4935, allocations: 107.2 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.4939, allocations: 205.6 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4939, allocations: 128 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.494, allocations: 36.2 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.0003016/0.4943, allocations: 36.25 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000585/0.4949, allocations: 279.5 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.495, allocations: 107.9 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.566e-05/0.4951, allocations: 13.08 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.4951, allocations: 15.44 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4951, allocations: 0 / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of Templates: time 0.006237/0.5014, allocations: 2.407 MB / 1.338 GB, free: 5.996 MB / 1.029 GB " [Timeout remaining time 299] 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 cvode -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.530779540000367]