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.001585/0.001585, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002669/0.002669, allocations: 218.1 kB / 23.04 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.393/3.393, allocations: 0.5003 GB / 0.8061 GB, free: 26.69 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="cs",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="cs",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.003201/0.003201, allocations: 65.66 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3618, allocations: 179 MB / 1.345 GB, free: 360 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002467/0.3643, allocations: 1.075 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.366, allocations: 1.272 MB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3661, allocations: 4 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3663, allocations: 23.73 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.265e-05/0.3663, allocations: 31.72 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.3669, allocations: 181.9 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.3672, allocations: 252 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3674, allocations: 84.88 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3675, allocations: 95.7 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3676, allocations: 99.53 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.3677, allocations: 28 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.3678, allocations: 35.98 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.3678, allocations: 47.84 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3679, allocations: 99.52 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.3683, allocations: 322.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3683, allocations: 0 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.103e-06/0.3683, allocations: 4 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3683, allocations: 0 / 1.349 GB, free: 12.7 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000741/0.3691, allocations: 443.1 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3691, allocations: 12.03 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.478e-05/0.3691, allocations: 4.188 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.3692, allocations: 50.73 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.3693, allocations: 24.8 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3696, allocations: 201.4 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3696, allocations: 12.38 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3697, allocations: 24.38 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.3699, allocations: 137.8 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3699, allocations: 0 / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.37, allocations: 8 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.37, allocations: 7.938 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3701, allocations: 91.89 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.371, allocations: 0.5536 MB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3713, allocations: 86.59 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.3713, allocations: 36.84 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.3713, allocations: 0 / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3715, allocations: 95.45 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3715, allocations: 0 / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003124/0.3718, allocations: 141.5 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3719, allocations: 51.41 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3721, allocations: 195.5 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.3721, allocations: 37.69 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.3722, allocations: 123.9 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3722, allocations: 35.73 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.3723, allocations: 45.7 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3725, allocations: 330.8 kB / 1.352 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3726, allocations: 55.98 kB / 1.352 GB, free: 9.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3727, allocations: 84.73 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.3729, allocations: 126.1 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3729, allocations: 0 / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004005/0.3733, allocations: 227.2 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.3734, allocations: 43.25 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3734, allocations: 0 / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3734, allocations: 0 / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.3735, allocations: 15.94 kB / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.3735, allocations: 0 / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3737, allocations: 55.84 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3738, allocations: 4 kB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001311/0.3739, allocations: 130.5 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3739, allocations: 15.91 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.374, allocations: 21.39 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.374, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.374, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.374, allocations: 7.875 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3742, allocations: 228.5 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3742, allocations: 0 / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.3743, allocations: 8 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.3743, allocations: 7.984 kB / 1.353 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3743, allocations: 7.984 kB / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3743, allocations: 0 / 1.353 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3743, allocations: 3.938 kB / 1.353 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3745, allocations: 141.4 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3745, allocations: 19.91 kB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3745, allocations: 4 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.3746, allocations: 11.98 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3747, allocations: 11.92 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3747, allocations: 15.86 kB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3748, allocations: 136.4 kB / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3748, allocations: 0 / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002503/0.3751, allocations: 39.94 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005607/0.3756, allocations: 0.6788 MB / 1.354 GB, free: 7.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3759, allocations: 171.2 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3759, allocations: 0 / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.376, allocations: 39.92 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3763, allocations: 39.78 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.3789, allocations: 1.959 MB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3792, allocations: 0.7241 MB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.742e-05/0.3793, allocations: 13.48 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3794, allocations: 47.42 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of SimCode: time 8.32e-07/0.3794, allocations: 4 kB / 1.356 GB, free: 4.453 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.4044, allocations: 4.035 MB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 10.23 kB / 1.36 GB, free: 0.6367 MB / 1.045 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] [Calling os._exit(0), Time elapsed: 18.913788966019638] Failed to read output from testmodel.py, exit status != 0: 11.94483171403408 11.962483792 11.590314952 Calling exit ...