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.001464/0.001464, allocations: 107.4 kB / 16.45 MB, free: 6.453 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.001531/0.001531, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.451/3.451, allocations: 0.5049 GB / 0.8065 GB, free: 23.14 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.002226/0.002226, allocations: 72.62 kB / 1.172 GB, free: 17.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4287, allocations: 180.2 MB / 1.348 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002978/0.4317, allocations: 1.123 MB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.4341, allocations: 1.311 MB / 1.351 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.4343, allocations: 4 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.4345, allocations: 19.73 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.4346, allocations: 31.67 kB / 1.351 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.4353, allocations: 206.1 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.4357, allocations: 303.8 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.4359, allocations: 83.17 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.436, allocations: 115.6 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.4362, allocations: 115.5 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.4363, allocations: 36 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.4364, allocations: 43.98 kB / 1.352 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.4364, allocations: 47.84 kB / 1.352 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.4366, allocations: 123.5 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.4371, allocations: 378.5 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4371, allocations: 0 / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4371, allocations: 7.938 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4371, allocations: 4 kB / 1.352 GB, free: 5.543 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.001055/0.4382, allocations: 0.5317 MB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4382, allocations: 8.031 kB / 1.353 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/0.4383, allocations: 28.8 kB / 1.353 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.4388, allocations: 270.1 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.4388, allocations: 24.7 kB / 1.353 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4389, allocations: 24.36 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.4392, allocations: 160.8 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4393, allocations: 192 / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.4393, allocations: 15.92 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4393, allocations: 4 kB / 1.353 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.4395, allocations: 104.2 kB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.4407, allocations: 0.6369 MB / 1.354 GB, free: 3.594 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.441, allocations: 130.7 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4411, allocations: 52.84 kB / 1.354 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4411, allocations: 3.938 kB / 1.354 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.4414, allocations: 135.2 kB / 1.354 GB, free: 3.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 3.847e-06/0.4414, allocations: 3.984 kB / 1.354 GB, free: 3.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0005462/0.442, allocations: 242.7 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.442, allocations: 51.41 kB / 1.354 GB, free: 2.945 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.4423, allocations: 210.5 kB / 1.355 GB, free: 2.727 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.4423, allocations: 33.7 kB / 1.355 GB, free: 2.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.4424, allocations: 136.5 kB / 1.355 GB, free: 2.547 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.4425, allocations: 43.62 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4426, allocations: 61.69 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002348/0.4428, allocations: 330.8 kB / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.443, allocations: 71.97 kB / 1.355 GB, free: 2.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.4432, allocations: 113 kB / 1.355 GB, free: 1.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.4435, allocations: 180.3 kB / 1.356 GB, free: 1.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4435, allocations: 3.938 kB / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005361/0.444, allocations: 279.1 kB / 1.356 GB, free: 1.418 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.4441, allocations: 40.05 kB / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4441, allocations: 0 / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4441, allocations: 4 kB / 1.356 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.4442, allocations: 27.92 kB / 1.356 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4442, allocations: 0 / 1.356 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4445, allocations: 47.84 kB / 1.356 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4446, allocations: 8 kB / 1.356 GB, free: 1.289 MB / 1.045 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.0001792/0.4447, allocations: 149.7 kB / 1.356 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.4448, allocations: 19.89 kB / 1.356 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.4448, allocations: 17.88 kB / 1.356 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4448, allocations: 7.938 kB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4448, allocations: 0 / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4448, allocations: 3.984 kB / 1.356 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.4456, allocations: 0.5498 MB / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4456, allocations: 0 / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.4457, allocations: 16.02 kB / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4457, allocations: 0 / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4457, allocations: 8 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4457, allocations: 7.875 kB / 1.357 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4457, allocations: 4 kB / 1.357 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.4461, allocations: 292 kB / 1.357 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4462, allocations: 108.9 kB / 1.357 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.4463, allocations: 12.08 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4464, allocations: 11.92 kB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.4465, allocations: 23.97 kB / 1.357 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4465, allocations: 4 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001511/0.4466, allocations: 152.2 kB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4466, allocations: 0 / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003232/0.4469, allocations: 51.89 kB / 1.357 GB, free: 15.75 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.0002085/0.4472, allocations: 115.5 kB / 1.357 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.4476, allocations: 221.3 kB / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4476, allocations: 0 / 1.358 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.4477, allocations: 67.81 kB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4481, allocations: 36.23 kB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.4489, allocations: 362.3 kB / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.4493, allocations: 0.7245 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.687e-05/0.4494, allocations: 25.53 kB / 1.359 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.4494, allocations: 23.38 kB / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4494, allocations: 0 / 1.359 GB, free: 14.13 MB / 1.061 GB Notification: Performance of Templates: time 0.007088/0.4565, allocations: 2.661 MB / 1.361 GB, free: 11.54 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 -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/jenkins/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: 9.69232184998691]