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.00144/0.00144, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001737/0.001737, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.108/3.108, allocations: 0.5003 GB / 0.8026 GB, free: 6.941 MB / 0.6387 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.002134/0.002134, allocations: 71.91 kB / 1.165 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.953/0.9551, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002435/0.9576, allocations: 1.087 MB / 1.341 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.9593, allocations: 1.267 MB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.9594, allocations: 7.844 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.9596, allocations: 19.41 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.9597, allocations: 26.92 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.9602, allocations: 173.8 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.9604, allocations: 268.7 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.9606, allocations: 78.48 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.9607, allocations: 96.59 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.9608, allocations: 93.11 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.9609, allocations: 28.03 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.961, allocations: 45.38 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.961, allocations: 39.69 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.9611, allocations: 100.5 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.9615, allocations: 325.4 kB / 1.344 GB, free: 13.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9615, allocations: 1.797 kB / 1.344 GB, free: 13.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9615, allocations: 0 / 1.344 GB, free: 13.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9615, allocations: 4 kB / 1.344 GB, free: 13.92 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007131/0.9622, allocations: 0.5034 MB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9623, allocations: 10.61 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/0.9623, allocations: 3.5 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.9623, allocations: 46.34 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.9624, allocations: 25.41 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.9627, allocations: 262 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.9627, allocations: 17.09 kB / 1.345 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.9628, allocations: 18.06 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.963, allocations: 149.4 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.963, allocations: 0 / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.963, allocations: 5.438 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.963, allocations: 4.375 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.9632, allocations: 83.83 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.964, allocations: 0.5898 MB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.9642, allocations: 85.06 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.9643, allocations: 40.86 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.9643, allocations: 0 / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.9644, allocations: 105.5 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.9644, allocations: 0 / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002928/0.9647, allocations: 139.5 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.9647, allocations: 54.72 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.9649, allocations: 196.2 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.9649, allocations: 36.39 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.965, allocations: 127.9 kB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.965, allocations: 34.56 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.9651, allocations: 49.12 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.9651, allocations: 330.5 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.9652, allocations: 55.39 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.9653, allocations: 78.5 kB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.9655, allocations: 127.1 kB / 1.347 GB, free: 11.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9655, allocations: 4 kB / 1.347 GB, free: 11.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003382/0.9658, allocations: 216.7 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.9659, allocations: 40.61 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9659, allocations: 0 / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9659, allocations: 2.062 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.9659, allocations: 12.23 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9659, allocations: 1.25 kB / 1.347 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.9662, allocations: 52.23 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.9662, allocations: 6.891 kB / 1.347 GB, free: 11.29 MB / 1.061 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 8.649e-05/0.9663, allocations: 139.3 kB / 1.347 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.9663, allocations: 13.94 kB / 1.347 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.9664, allocations: 20.08 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9664, allocations: 1.188 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9664, allocations: 1.531 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9664, allocations: 4.594 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.9665, allocations: 243 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9665, allocations: 4.75 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.9666, allocations: 13.91 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9666, allocations: 0.9375 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9666, allocations: 1.875 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9666, allocations: 1.891 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9666, allocations: 0 / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.9668, allocations: 140.1 kB / 1.348 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.9668, allocations: 103 kB / 1.348 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.9668, allocations: 7.219 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.9669, allocations: 8.594 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.967, allocations: 12.41 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.967, allocations: 7.141 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001032/0.9671, allocations: 149.5 kB / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9671, allocations: 0 / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002399/0.9673, allocations: 33.14 kB / 1.348 GB, free: 10.57 MB / 1.061 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.0004097/0.9677, allocations: 0.6918 MB / 1.349 GB, free: 9.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.968, allocations: 173.1 kB / 1.349 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.968, allocations: 0.9062 kB / 1.349 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.9681, allocations: 36.78 kB / 1.349 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.9684, allocations: 35.7 kB / 1.349 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.9704, allocations: 1.969 MB / 1.351 GB, free: 8.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.9706, allocations: 0.7293 MB / 1.351 GB, free: 7.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.9707, allocations: 15.62 kB / 1.352 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.9707, allocations: 50.14 kB / 1.352 GB, free: 7.531 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9707, allocations: 0 / 1.352 GB, free: 7.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.9923, allocations: 3.928 MB / 1.355 GB, free: 7.062 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.809, allocations: 16.44 kB / 1.355 GB, free: 7.051 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.52547761198366] Failed to read output from testmodel.py, exit status != 0: 9.939272898016497 9.952427041 8.988076518 Calling exit ...