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.001368/0.001368, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001441/0.001441, allocations: 211.9 kB / 22.99 MB, free: 4.945 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.162/3.162, allocations: 0.4892 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.002106/0.002106, allocations: 70.3 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002529/0.368, allocations: 1.02 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3698, allocations: 1.252 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.37, allocations: 8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3701, allocations: 23.73 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.3702, allocations: 23.75 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.3707, allocations: 186.5 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.371, allocations: 248.1 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.3712, allocations: 80.81 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3714, allocations: 91.66 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3715, allocations: 91.52 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.3716, allocations: 32 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.3716, allocations: 39.98 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.3717, allocations: 39.86 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3718, allocations: 87.58 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.3722, allocations: 322.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3722, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3722, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3722, allocations: 0 / 1.33 GB, free: 14.32 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.0008078/0.373, allocations: 439.1 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3731, allocations: 16.03 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.3731, allocations: 20.84 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.3735, allocations: 192.6 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3736, allocations: 16.38 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.3736, allocations: 16.38 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.3739, allocations: 167.8 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3739, allocations: 192 / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3739, allocations: 11.94 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3739, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3741, allocations: 83.97 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.3749, allocations: 463.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3752, allocations: 94.52 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.3752, allocations: 32.86 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.3752, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.3754, allocations: 125 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3754, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003199/0.3758, allocations: 137.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3758, allocations: 55.41 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.376, allocations: 169.4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.376, allocations: 33.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3761, allocations: 136.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3762, allocations: 35.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.3762, allocations: 37.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3764, allocations: 330.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3766, allocations: 93.61 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3767, allocations: 108.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.3769, allocations: 140.1 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3769, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000404/0.3773, allocations: 256.9 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.3774, allocations: 33.7 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3774, allocations: 7.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3774, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.3775, allocations: 19.92 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3775, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3777, allocations: 36.03 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3777, allocations: 11.98 kB / 1.333 GB, free: 10.82 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.0001319/0.3778, allocations: 134.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3779, allocations: 15.91 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.3779, allocations: 16.72 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3779, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3779, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3779, allocations: 3.984 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3781, allocations: 173.2 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3781, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.3782, allocations: 15.92 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3782, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3782, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3782, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3782, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3784, allocations: 144.9 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.3784, allocations: 7.953 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3784, allocations: 7.984 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.3785, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3786, allocations: 19.97 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3786, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001081/0.3787, allocations: 121.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3787, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002431/0.3789, allocations: 43.84 kB / 1.334 GB, free: 10.05 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.0001729/0.3791, allocations: 115.8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.3794, allocations: 204.9 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3794, allocations: 0 / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3795, allocations: 44.11 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3798, allocations: 27.86 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.3804, allocations: 305.2 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3805, allocations: 107.9 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3805, allocations: 19.44 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3805, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of Templates: time 0.004462/0.385, allocations: 2.205 MB / 1.337 GB, free: 6.988 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: 11.173027405049652]