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.001367/0.001367, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001467/0.001467, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8.016 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.337/3.337, allocations: 0.505 GB / 0.8101 GB, free: 22.1 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.00205/0.00205, allocations: 71.06 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3691, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002486/0.3716, allocations: 1.111 MB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3738, allocations: 1.315 MB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.3741, allocations: 8 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.3743, allocations: 19.73 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3744, allocations: 35.66 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.3753, allocations: 199.8 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.3757, allocations: 303.9 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.3759, allocations: 83.66 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3761, allocations: 111.6 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.3763, allocations: 119.5 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.3764, allocations: 36 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3765, allocations: 47.98 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.3765, allocations: 51.84 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3767, allocations: 119.4 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.3773, allocations: 382.8 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3773, allocations: 0 / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3773, allocations: 0 / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3773, allocations: 0 / 1.357 GB, free: 4.551 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.0008911/0.3782, allocations: 475.4 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3783, allocations: 12.03 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.3783, allocations: 46.73 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.3784, allocations: 28.8 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.3788, allocations: 216.3 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3789, allocations: 12.7 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.3789, allocations: 20.38 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.3792, allocations: 172.7 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3792, allocations: 7.938 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3792, allocations: 4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3792, allocations: 4 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.3795, allocations: 112.2 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3807, allocations: 0.6008 MB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.381, allocations: 134.7 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3811, allocations: 48.84 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3812, allocations: 3.938 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.3815, allocations: 143.1 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 2.605e-06/0.3815, allocations: 0 / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0005441/0.382, allocations: 247.3 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3821, allocations: 51.41 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3823, allocations: 202.6 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3823, allocations: 33.7 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3825, allocations: 140.4 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.3825, allocations: 43.64 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.3826, allocations: 57.69 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3828, allocations: 330.8 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3829, allocations: 71.97 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3831, allocations: 121 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3834, allocations: 172.7 kB / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3834, allocations: 0 / 1.36 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004571/0.3838, allocations: 275.1 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.3839, allocations: 37.7 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3839, allocations: 0 / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3839, allocations: 4 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.384, allocations: 27.91 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.384, allocations: 4.156 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.3843, allocations: 47.84 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3843, allocations: 15.94 kB / 1.36 GB, free: 444 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.0001527/0.3844, allocations: 141.8 kB / 1.361 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3845, allocations: 15.91 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.3845, allocations: 21.81 kB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3845, allocations: 8 kB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3845, allocations: 0 / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3845, allocations: 3.984 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.3853, allocations: 0.5254 MB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3853, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.3853, allocations: 11.98 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3853, allocations: 4 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3853, allocations: 3.938 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3853, allocations: 3.938 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3853, allocations: 8.031 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3857, allocations: 292.6 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.3858, allocations: 35.83 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.3858, allocations: 4 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3859, allocations: 19.92 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.386, allocations: 19.97 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.386, allocations: 11.98 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001335/0.3861, allocations: 144.5 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3861, allocations: 3.938 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000336/0.3865, allocations: 55.89 kB / 1.362 GB, free: 15.04 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.0007667/0.3872, allocations: 0.8302 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.3876, allocations: 223.1 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3877, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3878, allocations: 71.91 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3882, allocations: 44.33 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.391, allocations: 2.263 MB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3914, allocations: 0.7285 MB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.3915, allocations: 21.62 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3916, allocations: 59.42 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.3916, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.4231, allocations: 4.577 MB / 1.37 GB, free: 6.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 7.312 kB / 1.37 GB, free: 6.23 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.614916853000068]