Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001259/0.001259, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001682/0.001682, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.189/3.189, allocations: 0.505 GB / 0.8109 GB, free: 23.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001983/0.001983, allocations: 65.14 kB / 1.178 GB, free: 16.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 180.2 MB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002439/0.3262, allocations: 1.048 MB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.328, allocations: 1.288 MB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3281, allocations: 4 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3282, allocations: 23.73 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.3283, allocations: 35.66 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.3289, allocations: 192.6 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.3292, allocations: 303.9 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.3294, allocations: 87.66 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3296, allocations: 115.6 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3297, allocations: 103.6 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.3298, allocations: 36 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.3299, allocations: 43.98 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.3299, allocations: 51.84 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3301, allocations: 111.5 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.3305, allocations: 374.7 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3305, allocations: 3.938 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3305, allocations: 4 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3305, allocations: 3.938 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000864/0.3314, allocations: 475.3 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3314, allocations: 8.031 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.3315, allocations: 24.8 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3319, allocations: 212.3 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.3319, allocations: 20.69 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.332, allocations: 24.36 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3323, allocations: 202.4 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3323, allocations: 192 / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3323, allocations: 7.938 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3323, allocations: 4 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3325, allocations: 108.2 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.3335, allocations: 0.4883 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.3337, allocations: 126.6 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.3338, allocations: 56.89 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3338, allocations: 4 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3341, allocations: 160.9 kB / 1.36 GB, free: 1.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3341, allocations: 4 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004669/0.3345, allocations: 238.6 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3346, allocations: 55.41 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3348, allocations: 174.2 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.3348, allocations: 33.7 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3349, allocations: 144.5 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.335, allocations: 39.69 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3351, allocations: 61.69 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3352, allocations: 334.8 kB / 1.361 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3354, allocations: 101.6 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3356, allocations: 148.6 kB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.3358, allocations: 180.8 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3358, allocations: 0 / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004917/0.3363, allocations: 310.2 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.3364, allocations: 33.7 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3364, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3364, allocations: 7.984 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3365, allocations: 19.94 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.3365, allocations: 4 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.3367, allocations: 51.95 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3368, allocations: 12 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001429/0.3369, allocations: 145.8 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.3369, allocations: 15.91 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.337, allocations: 17.75 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.337, allocations: 7.938 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.337, allocations: 3.984 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.337, allocations: 3.984 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.3376, allocations: 476.8 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3376, allocations: 4.031 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.3377, allocations: 8 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3377, allocations: 4 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3377, allocations: 3.984 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3377, allocations: 4 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3377, allocations: 0 / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.338, allocations: 298.9 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.3381, allocations: 35.83 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3382, allocations: 4 kB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3383, allocations: 11.98 kB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.3383, allocations: 31.89 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3384, allocations: 4 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3385, allocations: 132.2 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3385, allocations: 0 / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003076/0.3388, allocations: 55.88 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000163/0.3389, allocations: 115.2 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.3393, allocations: 253.1 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3393, allocations: 4.062 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.3395, allocations: 66.17 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3398, allocations: 35.97 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.3404, allocations: 340.6 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3405, allocations: 124.9 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.3406, allocations: 17.42 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.3407, allocations: 19.44 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3407, allocations: 4 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of Templates: time 0.006477/0.3471, allocations: 2.837 MB / 1.366 GB, free: 10.48 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.634783733999939]