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.001353/0.001353, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00156/0.00156, allocations: 217.7 kB / 22.25 MB, free: 5.105 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.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.836 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.284/3.284, allocations: 0.505 GB / 0.8101 GB, free: 23.66 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) [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.002018/0.002018, allocations: 69.05 kB / 1.177 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3847, allocations: 180.2 MB / 1.353 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002529/0.3872, allocations: 1.054 MB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3891, allocations: 1.284 MB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3892, allocations: 4 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.3894, allocations: 27.67 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.3894, allocations: 31.73 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.39, allocations: 198.2 kB / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.3903, allocations: 295.9 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.3905, allocations: 87.66 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3907, allocations: 111.6 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3909, allocations: 115.5 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.3909, allocations: 32 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.391, allocations: 51.98 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.3911, allocations: 51.84 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3912, allocations: 103.5 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.3917, allocations: 378.9 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3917, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3917, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3917, allocations: 0 / 1.357 GB, free: 4.238 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.0009026/0.3926, allocations: 479.3 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3926, allocations: 8.031 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.3927, allocations: 54.73 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.3928, allocations: 24.8 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.3932, allocations: 212.3 kB / 1.357 GB, free: 3.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3932, allocations: 20.62 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.3933, allocations: 20.38 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3936, allocations: 198.4 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3936, allocations: 3.938 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3936, allocations: 4 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3936, allocations: 4 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3938, allocations: 116.2 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3949, allocations: 0.5345 MB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3951, allocations: 126.6 kB / 1.358 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3952, allocations: 60.86 kB / 1.358 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3953, allocations: 0 / 1.358 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.3955, allocations: 164.9 kB / 1.358 GB, free: 2.078 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3955, allocations: 4 kB / 1.358 GB, free: 2.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004864/0.396, allocations: 242.8 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3961, allocations: 55.41 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3963, allocations: 202.6 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3963, allocations: 33.7 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3965, allocations: 132.4 kB / 1.359 GB, free: 1.383 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.3965, allocations: 51.62 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3966, allocations: 53.7 kB / 1.359 GB, free: 1.273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3968, allocations: 334.8 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.397, allocations: 97.67 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3972, allocations: 148.6 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.3974, allocations: 176.2 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3974, allocations: 4 kB / 1.36 GB, free: 480 kB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004778/0.3979, allocations: 306.9 kB / 1.36 GB, free: 156 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.398, allocations: 45.62 kB / 1.36 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.398, allocations: 8.156 kB / 1.36 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.398, allocations: 0 / 1.36 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3981, allocations: 19.94 kB / 1.36 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3981, allocations: 7.984 kB / 1.36 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3983, allocations: 43.86 kB / 1.36 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3984, allocations: 19.92 kB / 1.36 GB, free: 4 kB / 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.0001648/0.3985, allocations: 137.8 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3986, allocations: 23.91 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.3986, allocations: 25.8 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3986, allocations: 0 / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3987, allocations: 0 / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3987, allocations: 0 / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.3993, allocations: 0.506 MB / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3993, allocations: 0 / 1.361 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.3994, allocations: 11.98 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3994, allocations: 4 kB / 1.361 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3994, allocations: 4 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.3994, allocations: 7.969 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3994, allocations: 4 kB / 1.361 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3998, allocations: 293.6 kB / 1.361 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3998, allocations: 35.88 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3999, allocations: 8 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4, allocations: 11.92 kB / 1.361 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.4001, allocations: 19.97 kB / 1.361 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4001, allocations: 19.92 kB / 1.361 GB, free: 14.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001338/0.4002, allocations: 144.5 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4002, allocations: 0 / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003055/0.4005, allocations: 51.89 kB / 1.362 GB, free: 14.63 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.0007304/0.4013, allocations: 0.84 MB / 1.362 GB, free: 13.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.4017, allocations: 252.8 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4017, allocations: 4 kB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4018, allocations: 63.91 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4022, allocations: 36.36 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.4051, allocations: 2.406 MB / 1.365 GB, free: 10.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.4052, allocations: 117.3 kB / 1.365 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.479e-05/0.4053, allocations: 21.62 kB / 1.365 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4054, allocations: 59.42 kB / 1.365 GB, free: 10.63 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.4054, allocations: 0 / 1.365 GB, free: 10.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4384, allocations: 5.204 MB / 1.37 GB, free: 5.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.79, allocations: 2.031 kB / 1.37 GB, free: 5.645 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv","/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: 18.93537989098695]