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.001458/0.001458, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001622/0.001622, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.996 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.452/3.452, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002188/0.002188, allocations: 67.55 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3633, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.0028/0.3661, allocations: 1.115 MB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3681, allocations: 1.311 MB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.3682, allocations: 7.938 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.3684, allocations: 19.73 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3685, allocations: 31.72 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.3691, allocations: 198.6 kB / 1.355 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.3695, allocations: 307.8 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3697, allocations: 79.67 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3699, allocations: 111.7 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3701, allocations: 127.4 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.3701, allocations: 32 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3702, allocations: 47.98 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.3703, allocations: 51.84 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3704, allocations: 115.5 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.3709, allocations: 382.8 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3709, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3709, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3709, allocations: 0 / 1.357 GB, free: 4.492 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.0009458/0.3719, allocations: 479.4 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3719, allocations: 8.031 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.372, allocations: 46.73 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.372, allocations: 28.8 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.3725, allocations: 216.2 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3725, allocations: 16.69 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3725, allocations: 24.38 kB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.3728, allocations: 172.7 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3729, allocations: 3.938 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.3729, allocations: 11.98 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3729, allocations: 4 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.3731, allocations: 104.2 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3741, allocations: 0.5969 MB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3744, allocations: 138.6 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3745, allocations: 56.86 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3745, allocations: 0 / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.3748, allocations: 131.2 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.3748, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0004829/0.3753, allocations: 251.4 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3753, allocations: 51.41 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.3755, allocations: 202.6 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.3756, allocations: 33.7 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3757, allocations: 140.4 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.3757, allocations: 47.58 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.3758, allocations: 53.7 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.376, allocations: 334.8 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3761, allocations: 71.97 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3763, allocations: 125 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3766, allocations: 170.7 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3766, allocations: 4 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004864/0.3771, allocations: 269.1 kB / 1.36 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.3771, allocations: 41.69 kB / 1.36 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3771, allocations: 0 / 1.36 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3772, allocations: 4 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3773, allocations: 20.14 kB / 1.36 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3773, allocations: 7.938 kB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.3775, allocations: 43.86 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3776, allocations: 19.92 kB / 1.36 GB, free: 380 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.0001408/0.3777, allocations: 133.8 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3777, allocations: 15.91 kB / 1.361 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.3778, allocations: 29.8 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3778, allocations: 4 kB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3778, allocations: 0 / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3778, allocations: 0 / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.3785, allocations: 0.5313 MB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3785, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.3786, allocations: 11.94 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3786, allocations: 11.92 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3786, allocations: 0 / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3786, allocations: 11.97 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3786, allocations: 0 / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.3789, allocations: 292.1 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.379, allocations: 31.84 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.379, allocations: 7.984 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3792, allocations: 19.92 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.3792, allocations: 23.97 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3793, allocations: 4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001404/0.3794, allocations: 144.5 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003231/0.3797, allocations: 59.88 kB / 1.362 GB, free: 14.97 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.0007292/0.3804, allocations: 0.8327 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.3809, allocations: 227.1 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3809, allocations: 0 / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.381, allocations: 74.3 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3814, allocations: 41.97 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.3843, allocations: 2.267 MB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3846, allocations: 0.7285 MB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.864e-05/0.3847, allocations: 21.62 kB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3848, allocations: 59.42 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3848, allocations: 0 / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.4216, allocations: 4.563 MB / 1.37 GB, free: 6.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 11.98 kB / 1.37 GB, free: 6.168 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 & /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: 18.90542606008239]