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.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001828/0.001828, allocations: 212 kB / 22.24 MB, free: 5.262 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 7.734 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.515/3.515, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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: 70.83 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4489, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002607/0.4515, allocations: 1.008 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.4534, allocations: 1.256 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.4535, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.4537, allocations: 19.73 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.4537, allocations: 27.73 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.4544, allocations: 183.5 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.4548, allocations: 256 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.455, allocations: 72.83 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.4552, allocations: 95.7 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.4554, allocations: 87.59 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.4554, allocations: 28 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4555, allocations: 35.98 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.4556, allocations: 47.84 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.4557, allocations: 83.59 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.4562, allocations: 318.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4562, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4562, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4562, allocations: 0 / 1.329 GB, free: 14.35 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.0009701/0.4572, allocations: 451.1 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4572, allocations: 12.03 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.707e-05/0.4573, allocations: 20.84 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.4578, allocations: 187.8 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.4579, allocations: 12.38 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.4579, allocations: 24.36 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.4582, allocations: 159.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4582, allocations: 192 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.4583, allocations: 15.88 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4583, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.4585, allocations: 91.95 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.4595, allocations: 463.7 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.4598, allocations: 86.5 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.4599, allocations: 36.89 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4599, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.4602, allocations: 121 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4602, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004174/0.4606, allocations: 149.6 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.4607, allocations: 51.41 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4609, allocations: 173 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.4609, allocations: 29.7 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4611, allocations: 144.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4611, allocations: 27.75 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4612, allocations: 45.69 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4615, allocations: 326.8 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4616, allocations: 89.67 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.4618, allocations: 111.2 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.462, allocations: 134.8 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.462, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004723/0.4625, allocations: 256.9 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.4625, allocations: 37.69 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.4625, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.4626, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.4627, allocations: 15.94 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.4627, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4629, allocations: 36.02 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4629, allocations: 12 kB / 1.332 GB, free: 10.84 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.0001909/0.4631, allocations: 142.3 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.4631, allocations: 11.91 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.4632, allocations: 12.72 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4632, allocations: 3.938 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4632, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4632, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4634, allocations: 181.1 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4634, allocations: 0 / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.4635, allocations: 15.94 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4635, allocations: 3.984 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4635, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4635, allocations: 7.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4635, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.4638, allocations: 137 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.4638, allocations: 11.95 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.4638, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4639, allocations: 7.984 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.464, allocations: 19.92 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.464, allocations: 7.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001165/0.4641, allocations: 124.8 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4641, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002653/0.4644, allocations: 39.84 kB / 1.333 GB, free: 10.07 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.0002036/0.4646, allocations: 111.2 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.465, allocations: 205 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.465, allocations: 0 / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.465, allocations: 36.12 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.4653, allocations: 38.25 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.466, allocations: 271.5 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4662, allocations: 111.9 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.417e-05/0.4662, allocations: 17.02 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.4663, allocations: 15.44 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.4663, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of Templates: time 0.006869/0.4732, allocations: 2.374 MB / 1.336 GB, free: 6.934 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/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.968294564634562]