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.001851/0.001851, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002259/0.002259, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.634/1.634, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.5/3.5, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 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.002147/0.002147, allocations: 71.12 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4005, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002994/0.4035, allocations: 1.087 MB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4061, allocations: 1.268 MB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.4063, allocations: 4 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.4066, allocations: 27.67 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.4067, allocations: 19.81 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.4076, allocations: 178.8 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.4081, allocations: 260 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.4083, allocations: 76.45 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.4085, allocations: 99.61 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.4086, allocations: 99.53 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.4087, allocations: 28 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4088, allocations: 39.97 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.4089, allocations: 39.92 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.409, allocations: 99.52 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.4095, allocations: 326.8 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4095, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4095, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.4095, allocations: 0 / 1.325 GB, free: 15.2 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.001163/0.4107, allocations: 0.5119 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4108, allocations: 8.031 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.4109, allocations: 20.84 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.4114, allocations: 260 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.4114, allocations: 12.38 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.4115, allocations: 20.38 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.4118, allocations: 146 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4118, allocations: 192 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4119, allocations: 7.938 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4119, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.4121, allocations: 87.97 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4133, allocations: 0.5896 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4136, allocations: 90.59 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.4137, allocations: 36.84 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4137, allocations: 0 / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.4139, allocations: 87.5 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.4139, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003588/0.4142, allocations: 141.5 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4143, allocations: 55.41 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.4145, allocations: 202.8 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.4146, allocations: 37.69 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4147, allocations: 127.9 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4147, allocations: 31.86 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.631e-05/0.4148, allocations: 45.64 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.415, allocations: 330.8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4151, allocations: 55.98 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.4153, allocations: 82.55 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4155, allocations: 124.2 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4155, allocations: 4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004228/0.4159, allocations: 219.2 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.416, allocations: 37.7 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.416, allocations: 8.047 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.416, allocations: 4 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.4161, allocations: 8 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4161, allocations: 4 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4163, allocations: 43.84 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4164, allocations: 4 kB / 1.328 GB, free: 11.52 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.000149/0.4165, allocations: 145.7 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4165, allocations: 15.91 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.4166, allocations: 25.39 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4166, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4166, allocations: 0 / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4166, allocations: 3.938 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.4169, allocations: 249.4 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4169, allocations: 0 / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.417, allocations: 8 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.417, allocations: 4 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.417, allocations: 7.984 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.417, allocations: 4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.417, allocations: 3.984 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.4173, allocations: 145.4 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.4173, allocations: 89.02 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.4174, allocations: 8 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.4175, allocations: 7.984 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.4175, allocations: 11.98 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4175, allocations: 11.94 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001441/0.4177, allocations: 140.4 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000258/0.4179, allocations: 47.83 kB / 1.329 GB, free: 10.51 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.0001896/0.4181, allocations: 115.2 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.4185, allocations: 167.3 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4185, allocations: 0 / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4186, allocations: 40.06 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4189, allocations: 27.97 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.4195, allocations: 273.3 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4199, allocations: 0.7279 MB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.328e-05/0.4199, allocations: 17.53 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.42, allocations: 19.44 kB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.42, allocations: 3.938 kB / 1.33 GB, free: 9.062 MB / 1.029 GB Notification: Performance of Templates: time 0.007463/0.4274, allocations: 2.266 MB / 1.333 GB, free: 6.871 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.886041135992855]