Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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.00127/0.00127, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.00191/0.00191, allocations: 211.2 kB / 23.03 MB, free: 4.426 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.322/3.322, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay",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.001985/0.001985, allocations: 62.53 kB / 1.171 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4124, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003024/0.4154, allocations: 1.277 MB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.4183, allocations: 1.498 MB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.4186, allocations: 4 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.4189, allocations: 39.53 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.419, allocations: 47.53 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4201, allocations: 329.3 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000704/0.4208, allocations: 464.2 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.4211, allocations: 145.7 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.4214, allocations: 175.4 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.4217, allocations: 175.3 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.4218, allocations: 48 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.422, allocations: 71.98 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.4221, allocations: 71.7 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4223, allocations: 159.3 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.4231, allocations: 0.584 MB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4231, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4231, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.4231, allocations: 4 kB / 1.35 GB, free: 10.88 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001275/0.4244, allocations: 0.5828 MB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4245, allocations: 8.031 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.027e-05/0.4245, allocations: 8.844 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.4246, allocations: 62.72 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.4248, allocations: 36.75 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.4253, allocations: 251.6 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.4253, allocations: 25.03 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.4254, allocations: 40.36 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.4258, allocations: 234.4 kB / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4258, allocations: 0 / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.4258, allocations: 8 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4259, allocations: 8 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.4262, allocations: 162.5 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.4276, allocations: 0.7378 MB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.4279, allocations: 154.6 kB / 1.352 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.428, allocations: 69.06 kB / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.4281, allocations: 4 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4283, allocations: 148.5 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 2.335e-06/0.4283, allocations: 0 / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.000574/0.4289, allocations: 246.7 kB / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.429, allocations: 59.41 kB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.4293, allocations: 257 kB / 1.353 GB, free: 7.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.4293, allocations: 37.7 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4295, allocations: 172.7 kB / 1.353 GB, free: 7.406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.4295, allocations: 75.36 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.4297, allocations: 77.67 kB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4299, allocations: 334.8 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.4302, allocations: 179.6 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.4305, allocations: 233 kB / 1.354 GB, free: 6.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.4309, allocations: 264.5 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.4309, allocations: 4 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007932/0.4317, allocations: 492.3 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/0.4317, allocations: 77.36 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4318, allocations: 4 kB / 1.355 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4318, allocations: 4 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4319, allocations: 31.92 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.432, allocations: 0 / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.4324, allocations: 83.86 kB / 1.355 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.4324, allocations: 16 kB / 1.355 GB, free: 5.441 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: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001833/0.4326, allocations: 157.8 kB / 1.355 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.4326, allocations: 27.8 kB / 1.355 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.4331, allocations: 201 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4331, allocations: 4 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4331, allocations: 11.94 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4331, allocations: 3.984 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.4339, allocations: 0.5601 MB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4339, allocations: 0 / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4341, allocations: 27.92 kB / 1.356 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4341, allocations: 0 / 1.356 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.4341, allocations: 8 kB / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4341, allocations: 0 / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4341, allocations: 0 / 1.356 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.4345, allocations: 324 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.4345, allocations: 31.84 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.4346, allocations: 4 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4347, allocations: 8 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.4348, allocations: 23.95 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4348, allocations: 12 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001952/0.435, allocations: 180.5 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.435, allocations: 3.938 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003868/0.4354, allocations: 79.77 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008374/0.4362, allocations: 0.8688 MB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.4369, allocations: 406 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4369, allocations: 0 / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4371, allocations: 79.84 kB / 1.358 GB, free: 2.289 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.4376, allocations: 64.89 kB / 1.358 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.4422, allocations: 3.154 MB / 1.361 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.4424, allocations: 150.9 kB / 1.361 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.4425, allocations: 26.3 kB / 1.361 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.4427, allocations: 95.39 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of SimCode: time 1.332e-06/0.4427, allocations: 0 / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.4772, allocations: 6.653 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.46, allocations: 8.062 kB / 1.368 GB, free: 8.203 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.43826076190453] Failed to read output from testmodel.py, exit status != 0: 12.625493220053613 12.656763914 12.228325866 Calling exit ...