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.001757/0.001757, allocations: 110.5 kB / 16.46 MB, free: 6.508 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.002089/0.002089, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.285/3.285, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002069/0.002069, allocations: 73.83 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.003206/0.3611, allocations: 1.114 MB / 1.349 GB, free: 8.867 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.3635, allocations: 1.303 MB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.3638, allocations: 7.938 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3641, allocations: 23.73 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.3643, allocations: 31.73 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.3652, allocations: 204.6 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.3658, allocations: 299.9 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.366, allocations: 83.16 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3663, allocations: 111.7 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3665, allocations: 119.4 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.3666, allocations: 36 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3667, allocations: 47.98 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.3668, allocations: 51.84 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.3669, allocations: 115.5 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.3676, allocations: 378.8 kB / 1.352 GB, free: 6.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3676, allocations: 4 kB / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3676, allocations: 0 / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3676, allocations: 0 / 1.352 GB, free: 6.07 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.001339/0.3689, allocations: 0.5356 MB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.369, allocations: 15.98 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.369, allocations: 50.73 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3692, allocations: 28.8 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.3697, allocations: 272.9 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.3697, allocations: 20.62 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.3698, allocations: 24.38 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.3701, allocations: 164.8 kB / 1.353 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3702, allocations: 3.938 kB / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3702, allocations: 12 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3702, allocations: 4 kB / 1.353 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.3704, allocations: 108.2 kB / 1.353 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.3716, allocations: 0.629 MB / 1.353 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3719, allocations: 134.6 kB / 1.354 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3721, allocations: 52.83 kB / 1.354 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3721, allocations: 0 / 1.354 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.3724, allocations: 135.2 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.3724, allocations: 0 / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0005699/0.3729, allocations: 247.7 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.373, allocations: 59.41 kB / 1.354 GB, free: 3.395 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3732, allocations: 206.5 kB / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.3733, allocations: 37.69 kB / 1.354 GB, free: 3.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3734, allocations: 124.5 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.3735, allocations: 51.58 kB / 1.354 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3736, allocations: 57.69 kB / 1.354 GB, free: 2.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3738, allocations: 330.8 kB / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3739, allocations: 67.97 kB / 1.355 GB, free: 2.496 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3741, allocations: 125 kB / 1.355 GB, free: 2.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3744, allocations: 178.7 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3744, allocations: 0 / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000526/0.375, allocations: 275.5 kB / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.375, allocations: 37.69 kB / 1.355 GB, free: 1.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.375, allocations: 4 kB / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.375, allocations: 0 / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3751, allocations: 20 kB / 1.355 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3752, allocations: 7.938 kB / 1.355 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.3754, allocations: 48 kB / 1.356 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.3755, allocations: 15.94 kB / 1.356 GB, free: 1.742 MB / 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.0001731/0.3757, allocations: 149.8 kB / 1.356 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.3757, allocations: 15.91 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.3758, allocations: 21.86 kB / 1.356 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3758, allocations: 4 kB / 1.356 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3758, allocations: 0 / 1.356 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3758, allocations: 0 / 1.356 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.3766, allocations: 0.5576 MB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3766, allocations: 3.938 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.3767, allocations: 19.88 kB / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3767, allocations: 0 / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3767, allocations: 11.98 kB / 1.356 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.3767, allocations: 3.938 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3767, allocations: 0 / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.3771, allocations: 292.1 kB / 1.357 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3772, allocations: 112.9 kB / 1.357 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3773, allocations: 4 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3774, allocations: 15.92 kB / 1.357 GB, free: 444 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.3775, allocations: 19.97 kB / 1.357 GB, free: 424 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.3775, allocations: 15.98 kB / 1.357 GB, free: 408 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001598/0.3777, allocations: 148.2 kB / 1.357 GB, free: 260 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3777, allocations: 0 / 1.357 GB, free: 260 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003309/0.378, allocations: 51.88 kB / 1.357 GB, free: 208 kB / 1.045 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.0009289/0.3789, allocations: 0.8355 MB / 1.358 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.3794, allocations: 219.2 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3794, allocations: 0 / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.3796, allocations: 66.53 kB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.38, allocations: 37.56 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.3833, allocations: 2.268 MB / 1.36 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3838, allocations: 0.7323 MB / 1.361 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.251e-05/0.3839, allocations: 21.53 kB / 1.361 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.384, allocations: 59.42 kB / 1.361 GB, free: 11.78 MB / 1.061 GB Notification: Performance of SimCode: time 8.21e-07/0.384, allocations: 0 / 1.361 GB, free: 11.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.4141, allocations: 4.427 MB / 1.365 GB, free: 7.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.812, allocations: 7.75 kB / 1.365 GB, free: 7.574 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.625845980131999]