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.001875/0.001875, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00217/0.00217, allocations: 210.9 kB / 23 MB, free: 4.934 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.349/3.349, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.002117/0.002117, allocations: 74.77 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 176.1 MB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.00309/0.4047, allocations: 1.013 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.407, allocations: 1.256 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.4072, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.4074, allocations: 19.73 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.4074, allocations: 27.73 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.4081, allocations: 186.1 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.4084, allocations: 259.9 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.4086, allocations: 76.83 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4087, allocations: 91.77 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.4089, allocations: 95.58 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.409, allocations: 28 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.4091, allocations: 47.92 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.4091, allocations: 35.86 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4092, allocations: 87.64 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.4097, allocations: 322.8 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4097, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4097, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.4097, allocations: 4 kB / 1.331 GB, free: 13.54 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.0009111/0.4106, allocations: 443.1 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4107, allocations: 8.031 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.4107, allocations: 24.84 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.4112, allocations: 200.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.4112, allocations: 12.38 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.4112, allocations: 20.38 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.4115, allocations: 159.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4116, allocations: 4.188 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4116, allocations: 11.92 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4116, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.4118, allocations: 91.91 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.4127, allocations: 463.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.4129, allocations: 90.48 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.413, allocations: 32.89 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.413, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.4132, allocations: 125.1 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.4132, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003389/0.4136, allocations: 133.6 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4136, allocations: 59.34 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4138, allocations: 174.3 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.4138, allocations: 33.7 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.414, allocations: 132.2 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.414, allocations: 35.8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.4141, allocations: 45.7 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4143, allocations: 326.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.4144, allocations: 93.67 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.4146, allocations: 110.1 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.4148, allocations: 131.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4148, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004125/0.4152, allocations: 252.9 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.4152, allocations: 41.69 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4153, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.4153, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.4154, allocations: 16 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4154, allocations: 7.984 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.4156, allocations: 31.97 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.4156, allocations: 4 kB / 1.334 GB, free: 10.04 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.0001664/0.4158, allocations: 144.2 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.4158, allocations: 15.91 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.4159, allocations: 12.72 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4159, allocations: 4 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4159, allocations: 0 / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.4159, allocations: 15.88 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4159, allocations: 4 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.416, allocations: 19.81 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.4161, allocations: 11.97 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003001/0.4164, allocations: 188.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002856/0.4166, allocations: 282.6 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.5e-05/0.4167, allocations: 36.69 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4168, allocations: 123.2 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of Backend: time 3.91e-07/0.4168, allocations: 4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006577/0.4175, allocations: 253.4 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009845/0.4185, allocations: 0.7157 MB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of Templates: time 0.006915/0.4254, allocations: 2.639 MB / 1.338 GB, free: 5.574 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 -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.596383108997543]