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.001682/0.001682, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002143/0.002143, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.567/1.567, allocations: 230.6 MB / 256 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.365/3.365, allocations: 0.49 GB / 0.7951 GB, free: 35.6 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.002064/0.002064, allocations: 77.2 kB / 1.154 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4739, allocations: 176.1 MB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002787/0.4767, allocations: 1.01 MB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.4786, allocations: 1.252 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.4788, allocations: 8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.479, allocations: 23.73 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.684e-05/0.4791, allocations: 31.72 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.4796, allocations: 175.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.48, allocations: 263.9 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.4802, allocations: 80.81 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4803, allocations: 87.78 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.4805, allocations: 103.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.4805, allocations: 32 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.4806, allocations: 35.98 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.4807, allocations: 43.86 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4808, allocations: 87.62 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.4813, allocations: 318.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4813, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4813, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4813, allocations: 0 / 1.33 GB, free: 13.5 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.0008918/0.4822, allocations: 447.1 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4823, allocations: 11.97 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.4823, allocations: 24.84 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.4828, allocations: 195.2 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4828, allocations: 12.38 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.4828, allocations: 20.38 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4831, allocations: 167.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4831, allocations: 192 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4832, allocations: 7.938 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4832, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.4833, allocations: 87.91 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/0.4843, allocations: 463.8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4846, allocations: 90.53 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.4847, allocations: 32.86 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.4847, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.4849, allocations: 117.1 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.4849, allocations: 192 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000357/0.4852, allocations: 145.4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.4853, allocations: 59.41 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4855, allocations: 173.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.4855, allocations: 25.7 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4857, allocations: 140.2 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.4857, allocations: 35.8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.4858, allocations: 45.7 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.486, allocations: 326.8 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.4861, allocations: 85.67 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.4863, allocations: 116.2 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4865, allocations: 135.7 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4865, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000434/0.487, allocations: 256.9 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.487, allocations: 37.7 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.487, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.487, allocations: 3.938 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.4871, allocations: 19.92 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.4871, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.4874, allocations: 32.03 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4874, allocations: 15.98 kB / 1.333 GB, free: 9.992 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.0001835/0.4876, allocations: 136 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.4876, allocations: 11.91 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.4877, allocations: 12.72 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4877, allocations: 0 / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.4877, allocations: 3.984 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4877, allocations: 3.984 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.4879, allocations: 169.2 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4879, allocations: 7.984 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.488, allocations: 15.94 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.488, allocations: 0 / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.488, allocations: 4 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.488, allocations: 0 / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.488, allocations: 0 / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4882, allocations: 145.4 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.4882, allocations: 11.95 kB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4883, allocations: 3.984 kB / 1.333 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.4883, allocations: 4 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.4884, allocations: 19.97 kB / 1.333 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.4884, allocations: 4 kB / 1.333 GB, free: 9.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001133/0.4885, allocations: 128.5 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4885, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00026/0.4888, allocations: 43.84 kB / 1.334 GB, free: 9.219 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.000217/0.489, allocations: 115.2 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.4894, allocations: 201 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4894, allocations: 0 / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.4895, allocations: 35.98 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.4898, allocations: 39.98 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.4904, allocations: 277.4 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4906, allocations: 107.9 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.4906, allocations: 13.08 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.4907, allocations: 15.44 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4907, allocations: 0 / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of Templates: time 0.006471/0.4972, allocations: 2.401 MB / 1.337 GB, free: 6.051 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 -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/jenkins/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.780345482751727]