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.001295/0.001295, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002185/0.002185, allocations: 204 kB / 20.09 MB, free: 2.977 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.888/2.888, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002099/0.002099, allocations: 75.88 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9777/0.9798, allocations: 176.1 MB / 1.322 GB, free: 24.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002062/0.9818, allocations: 1.082 MB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.9831, allocations: 1.265 MB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.9832, allocations: 2.469 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.9834, allocations: 19.22 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.9834, allocations: 29.67 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.9839, allocations: 174.8 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.9841, allocations: 265.7 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.9843, allocations: 75.38 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.9844, allocations: 99.72 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.9845, allocations: 90.8 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.9845, allocations: 25.66 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.9846, allocations: 50.64 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.9846, allocations: 40.47 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.9847, allocations: 104 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.985, allocations: 325 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.985, allocations: 0 / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.985, allocations: 0 / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.985, allocations: 4 kB / 1.326 GB, free: 22.68 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006559/0.9857, allocations: 0.5032 MB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.9857, allocations: 12.56 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.9858, allocations: 26.47 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.9861, allocations: 253 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.9861, allocations: 13.17 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.9861, allocations: 24.22 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.9863, allocations: 144.3 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9863, allocations: 4.125 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.9864, allocations: 10.75 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9864, allocations: 6.719 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.9865, allocations: 87.95 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.9872, allocations: 0.5952 MB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.9874, allocations: 79.55 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.9875, allocations: 35.47 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.9876, allocations: 0.8125 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.9877, allocations: 93.75 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.9877, allocations: 0 / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003343/0.988, allocations: 147.2 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.9881, allocations: 56.03 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.9883, allocations: 196.6 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.9883, allocations: 33.25 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.9883, allocations: 128.2 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.9884, allocations: 31.17 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.9885, allocations: 42.19 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.9885, allocations: 330.3 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.9886, allocations: 59.03 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.9888, allocations: 84.59 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.989, allocations: 129.6 kB / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.989, allocations: 0 / 1.329 GB, free: 20.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003743/0.9893, allocations: 218.8 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.9894, allocations: 40.64 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.9894, allocations: 1.625 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9894, allocations: 0.75 kB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.632e-05/0.9895, allocations: 22.69 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.9895, allocations: 0.9375 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.9897, allocations: 42.58 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.9897, allocations: 9.906 kB / 1.329 GB, free: 20.1 MB / 1.061 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 9.755e-05/0.9898, allocations: 137.3 kB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.9899, allocations: 18.88 kB / 1.329 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.9899, allocations: 16.53 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.9899, allocations: 5.625 kB / 1.329 GB, free: 19.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9899, allocations: 7.359 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9899, allocations: 0.7812 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9901, allocations: 246.1 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.9901, allocations: 0 / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.9902, allocations: 9.125 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9902, allocations: 8.328 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.9902, allocations: 0.9375 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9902, allocations: 0.9062 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9902, allocations: 0 / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.9904, allocations: 140.2 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.9904, allocations: 100.7 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.9904, allocations: 12.84 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.9905, allocations: 11.53 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.9906, allocations: 13.5 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.9906, allocations: 2.812 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001083/0.9907, allocations: 141.4 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9907, allocations: 0 / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002647/0.991, allocations: 43.86 kB / 1.33 GB, free: 19.37 MB / 1.061 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.0001391/0.9911, allocations: 109.1 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.9914, allocations: 175.2 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9914, allocations: 0.7188 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.9915, allocations: 37.47 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.9918, allocations: 30.06 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.9923, allocations: 315.5 kB / 1.33 GB, free: 18.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.9924, allocations: 0.7233 MB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.9925, allocations: 19.91 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9925, allocations: 0 / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of Templates: time 0.005032/0.9975, allocations: 2.269 MB / 1.333 GB, free: 17.97 MB / 1.061 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 -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: 11.658876164001413]