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.001838/0.001838, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002419/0.002419, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 8.012 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.284/3.284, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002185/0.002185, allocations: 65.41 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4903, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.003109/0.4934, allocations: 1.083 MB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.4956, allocations: 1.276 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.4958, allocations: 7.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.496, allocations: 19.73 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.496, allocations: 23.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.4967, allocations: 187.5 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.4971, allocations: 263.9 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.4973, allocations: 82.86 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4974, allocations: 95.64 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4976, allocations: 95.58 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.4976, allocations: 28 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.4978, allocations: 40 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.4978, allocations: 35.91 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.4979, allocations: 103.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.4984, allocations: 326.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4984, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4984, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4984, allocations: 0 / 1.33 GB, free: 13.82 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.001041/0.4995, allocations: 444.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4995, allocations: 8.031 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.4996, allocations: 20.84 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.5001, allocations: 186.2 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.5001, allocations: 20.36 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.5001, allocations: 28.31 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.5004, allocations: 138.1 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5004, allocations: 192 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.5004, allocations: 11.94 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5005, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.5006, allocations: 95.89 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.5017, allocations: 0.5497 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.502, allocations: 90.53 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.502, allocations: 37.08 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.502, allocations: 3.938 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.5022, allocations: 87.38 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 5.19e-06/0.5022, allocations: 8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003369/0.5026, allocations: 137.5 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.5027, allocations: 59.34 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5029, allocations: 198.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.5029, allocations: 33.7 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.503, allocations: 124 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.5031, allocations: 39.69 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.5031, allocations: 37.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5033, allocations: 338.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5034, allocations: 51.98 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5036, allocations: 80.94 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.5038, allocations: 128.2 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5038, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003977/0.5042, allocations: 227.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.5042, allocations: 37.69 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5042, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5043, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.5043, allocations: 8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5043, allocations: 4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.5046, allocations: 43.84 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.5046, allocations: 8 kB / 1.333 GB, free: 10.35 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.0001626/0.5048, allocations: 142.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.5048, allocations: 15.91 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.5048, allocations: 17.41 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5048, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5048, allocations: 7.938 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5048, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.5051, allocations: 220.6 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.5051, allocations: 4 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.5052, allocations: 11.98 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5052, allocations: 4 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.5052, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5052, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5052, allocations: 4 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.5054, allocations: 141.4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.5054, allocations: 15.91 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5054, allocations: 0 / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.5055, allocations: 19.98 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.5056, allocations: 15.91 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.5056, allocations: 8 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001335/0.5057, allocations: 144.4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5057, allocations: 0 / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000269/0.506, allocations: 43.83 kB / 1.334 GB, free: 9.473 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.0001846/0.5062, allocations: 107.2 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.5065, allocations: 175.3 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5065, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.5066, allocations: 39.92 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5069, allocations: 25.7 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.5075, allocations: 275.9 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.508, allocations: 0.7241 MB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.5081, allocations: 21.45 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5081, allocations: 23.38 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.5081, allocations: 0 / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of Templates: time 0.00668/0.5148, allocations: 2.308 MB / 1.337 GB, free: 5.789 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.755176478996873]