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.001474/0.001474, 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.001788/0.001788, allocations: 212.1 kB / 22.24 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.805 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.403/3.403, 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.002187/0.002187, allocations: 72.39 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, 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.002551/0.3799, allocations: 1.045 MB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.382, allocations: 1.295 MB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.3822, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.3824, allocations: 19.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3825, allocations: 31.67 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.3831, allocations: 202.3 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.3835, allocations: 303.9 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.3838, allocations: 79.66 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.384, allocations: 111.6 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3842, allocations: 103.5 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.3842, allocations: 32 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.3843, allocations: 43.98 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.3844, allocations: 51.84 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3845, allocations: 103.6 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.385, allocations: 382.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.385, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/0.385, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.385, allocations: 4 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.0009235/0.386, allocations: 467.4 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.386, allocations: 8.031 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.507e-05/0.3861, allocations: 58.73 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.3862, allocations: 24.8 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.3866, allocations: 211.1 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.3866, allocations: 16.7 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3867, allocations: 36.3 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.387, allocations: 182.5 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.387, allocations: 7.938 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3871, allocations: 11.98 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3871, allocations: 4 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.3873, allocations: 108.2 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3883, allocations: 0.5307 MB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3886, allocations: 138.5 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3887, allocations: 56.88 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.3888, allocations: 0 / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.389, allocations: 168.9 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.389, allocations: 3.938 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0004995/0.3895, allocations: 239.8 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3896, allocations: 55.41 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3898, allocations: 210.5 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.3899, allocations: 33.7 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.39, allocations: 128.4 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.39, allocations: 43.69 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3901, allocations: 57.69 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3903, allocations: 330.8 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3905, allocations: 101.7 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3907, allocations: 151.8 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.391, allocations: 170.8 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.391, allocations: 4 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005208/0.3915, allocations: 313 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.3916, allocations: 37.7 kB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3916, allocations: 0 / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3916, allocations: 4 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3917, allocations: 23.92 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3917, allocations: 0 / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.392, allocations: 52 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.392, allocations: 11.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.0001601/0.3922, allocations: 149.7 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3922, allocations: 23.86 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.3923, allocations: 17.81 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3923, allocations: 3.938 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3923, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3923, allocations: 3.984 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.393, allocations: 0.506 MB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.393, allocations: 0 / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.3931, allocations: 19.94 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3931, allocations: 0 / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3931, allocations: 7.984 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3931, allocations: 3.938 kB / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3931, allocations: 0 / 1.372 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3935, allocations: 297.8 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.3935, allocations: 27.89 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3936, allocations: 11.98 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3937, allocations: 19.95 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3937, allocations: 15.97 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3938, allocations: 12 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3939, allocations: 148.2 kB / 1.372 GB, free: 4.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3939, allocations: 0 / 1.372 GB, free: 4.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003374/0.3943, allocations: 55.88 kB / 1.372 GB, free: 4.684 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.0008362/0.3951, allocations: 0.8324 MB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.3955, allocations: 261 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3955, allocations: 0 / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3957, allocations: 70.45 kB / 1.373 GB, free: 3.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.396, allocations: 33.69 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.003101/0.3991, allocations: 2.386 MB / 1.376 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3993, allocations: 129.4 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.023e-05/0.3993, allocations: 21.64 kB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3995, allocations: 63.41 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.3995, allocations: 0 / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.4445, allocations: 5.146 MB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 13.48 kB / 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 & 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: 19.388414988759905]