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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001513/0.001513, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.789 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.42/3.42, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.002142/0.002142, allocations: 67.67 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002691/0.3868, allocations: 1.055 MB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3889, allocations: 1.291 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.389, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.3892, allocations: 19.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.3893, allocations: 43.66 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.3899, allocations: 201.9 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.3903, allocations: 299.9 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.3905, allocations: 71.67 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3906, allocations: 115.6 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3908, allocations: 99.56 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3909, allocations: 35.94 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.391, allocations: 44 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.391, allocations: 47.91 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3912, allocations: 103.6 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.3916, allocations: 382.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3916, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.596e-06/0.3916, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.3917, allocations: 7.922 kB / 1.367 GB, free: 10.29 MB / 1.061 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.0009018/0.3926, allocations: 463.4 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3926, allocations: 12.03 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.3927, allocations: 46.73 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.3927, allocations: 32.78 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.3932, allocations: 211.1 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3932, allocations: 16.7 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.3933, allocations: 20.38 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3936, allocations: 194.5 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3936, allocations: 3.938 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3936, allocations: 4 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3937, allocations: 4 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.3939, allocations: 112.2 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3949, allocations: 0.5423 MB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.3952, allocations: 126.7 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3953, allocations: 52.84 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3953, allocations: 3.938 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.3956, allocations: 160.9 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.3956, allocations: 3.938 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0005094/0.3961, allocations: 241.4 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3962, allocations: 59.41 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3964, allocations: 206.5 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3965, allocations: 33.7 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3966, allocations: 140.4 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.3966, allocations: 39.69 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3967, allocations: 57.69 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3969, allocations: 330.8 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.3971, allocations: 97.67 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3973, allocations: 146.8 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3976, allocations: 185 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3976, allocations: 0 / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005123/0.3981, allocations: 304.8 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.3981, allocations: 33.7 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3981, allocations: 4 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3982, allocations: 0 / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3983, allocations: 28.08 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3983, allocations: 4 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3986, allocations: 51.84 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3986, allocations: 15.94 kB / 1.371 GB, free: 6.074 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.0001559/0.3988, allocations: 145.7 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3988, allocations: 23.84 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.3989, allocations: 21.81 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3989, allocations: 4 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3989, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3989, allocations: 4 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.3996, allocations: 0.5021 MB / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3996, allocations: 0 / 1.372 GB, free: 5.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.3996, allocations: 8 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3996, allocations: 4 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3997, allocations: 7.984 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3997, allocations: 11.88 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3997, allocations: 0 / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4, allocations: 301 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.4001, allocations: 23.89 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.4001, allocations: 8 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.4003, allocations: 15.92 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.4003, allocations: 19.95 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4004, allocations: 8 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001424/0.4005, allocations: 152.2 kB / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4005, allocations: 0 / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003161/0.4008, allocations: 55.83 kB / 1.372 GB, free: 4.691 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.0007771/0.4016, allocations: 0.841 MB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.402, allocations: 267.6 kB / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.402, allocations: 0 / 1.373 GB, free: 3.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.4022, allocations: 59.92 kB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4026, allocations: 36.34 kB / 1.373 GB, free: 3.449 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.4057, allocations: 2.398 MB / 1.376 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4058, allocations: 113.3 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.4059, allocations: 25.62 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.406, allocations: 59.42 kB / 1.376 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/0.406, allocations: 0 / 1.376 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.4396, allocations: 5.164 MB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.06, allocations: 0 / 1.381 GB, free: 11.76 MB / 1.076 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.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: 19.030328352935612]