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.001541/0.001541, allocations: 117.4 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.001893/0.001893, allocations: 214.3 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.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.162/3.162, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 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.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.002012/0.002012, allocations: 71.89 kB / 1.165 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 178.9 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002981/1.077, allocations: 1.431 MB / 1.342 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00236/1.08, allocations: 1.527 MB / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/1.08, allocations: 4.969 kB / 1.343 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/1.08, allocations: 31.55 kB / 1.343 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/1.08, allocations: 50.27 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/1.081, allocations: 333.2 kB / 1.343 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005235/1.082, allocations: 470.5 kB / 1.344 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/1.082, allocations: 134 kB / 1.344 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/1.082, allocations: 174.1 kB / 1.344 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/1.082, allocations: 181.1 kB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/1.082, allocations: 50.31 kB / 1.344 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/1.082, allocations: 68.83 kB / 1.344 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/1.083, allocations: 75.09 kB / 1.345 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/1.083, allocations: 175.4 kB / 1.345 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006815/1.083, allocations: 0.58 MB / 1.345 GB, free: 9.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.083, allocations: 0 / 1.345 GB, free: 9.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/1.083, allocations: 1.188 kB / 1.345 GB, free: 9.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.787e-06/1.083, allocations: 0 / 1.345 GB, free: 9.785 MB / 1.029 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.001089/1.085, allocations: 0.6679 MB / 1.346 GB, free: 9.156 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.085, allocations: 10.22 kB / 1.346 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/1.085, allocations: 6.719 kB / 1.346 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/1.085, allocations: 63.22 kB / 1.346 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/1.085, allocations: 38.75 kB / 1.346 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/1.085, allocations: 307.8 kB / 1.346 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/1.085, allocations: 27.72 kB / 1.346 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/1.085, allocations: 35.91 kB / 1.346 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/1.086, allocations: 232 kB / 1.347 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.086, allocations: 1.094 kB / 1.347 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/1.086, allocations: 10.25 kB / 1.347 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/1.086, allocations: 10.31 kB / 1.347 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/1.086, allocations: 159 kB / 1.347 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.088, allocations: 0.8904 MB / 1.348 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/1.088, allocations: 144.2 kB / 1.348 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.088, allocations: 66.66 kB / 1.348 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/1.088, allocations: 7.266 kB / 1.348 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/1.088, allocations: 142.1 kB / 1.348 GB, free: 7.539 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.644e-06/1.088, allocations: 0 / 1.348 GB, free: 7.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.000521/1.089, allocations: 257.2 kB / 1.348 GB, free: 7.402 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.089, allocations: 54.34 kB / 1.348 GB, free: 7.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/1.089, allocations: 254.2 kB / 1.349 GB, free: 7.164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/1.089, allocations: 39.94 kB / 1.349 GB, free: 7.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/1.089, allocations: 178.4 kB / 1.349 GB, free: 6.965 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/1.089, allocations: 67.2 kB / 1.349 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.09, allocations: 79.92 kB / 1.349 GB, free: 6.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.09, allocations: 331.9 kB / 1.349 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.09, allocations: 113.1 kB / 1.349 GB, free: 6.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/1.09, allocations: 163 kB / 1.349 GB, free: 6.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/1.091, allocations: 262.9 kB / 1.35 GB, free: 6.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.091, allocations: 4 kB / 1.35 GB, free: 6.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007774/1.091, allocations: 432.8 kB / 1.35 GB, free: 5.895 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.044e-05/1.092, allocations: 80.95 kB / 1.35 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.092, allocations: 2.594 kB / 1.35 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.092, allocations: 2.375 kB / 1.35 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.092, allocations: 28.3 kB / 1.35 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.092, allocations: 6.156 kB / 1.35 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/1.092, allocations: 82 kB / 1.35 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.092, allocations: 21.3 kB / 1.35 GB, free: 5.754 MB / 1.029 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.0001874/1.092, allocations: 153.7 kB / 1.351 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/1.092, allocations: 25.64 kB / 1.351 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/1.093, allocations: 205.8 kB / 1.351 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.093, allocations: 2.281 kB / 1.351 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.093, allocations: 0 / 1.351 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.093, allocations: 5.078 kB / 1.351 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/1.094, allocations: 0.6206 MB / 1.351 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.094, allocations: 1.031 kB / 1.351 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.094, allocations: 26.48 kB / 1.351 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.094, allocations: 2.781 kB / 1.351 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/1.094, allocations: 6.578 kB / 1.351 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.094, allocations: 1.656 kB / 1.351 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.094, allocations: 5.469 kB / 1.351 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/1.094, allocations: 312.8 kB / 1.352 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/1.094, allocations: 116.4 kB / 1.352 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/1.094, allocations: 6.594 kB / 1.352 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.095, allocations: 12.7 kB / 1.352 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/1.095, allocations: 27.53 kB / 1.352 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.095, allocations: 5.312 kB / 1.352 GB, free: 4.531 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002055/1.095, allocations: 185.1 kB / 1.352 GB, free: 4.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.095, allocations: 1.125 kB / 1.352 GB, free: 4.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004172/1.095, allocations: 74.47 kB / 1.352 GB, free: 4.379 MB / 1.029 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.0008513/1.096, allocations: 0.865 MB / 1.353 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005718/1.097, allocations: 336.8 kB / 1.353 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.097, allocations: 1.094 kB / 1.353 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/1.097, allocations: 75.81 kB / 1.353 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/1.097, allocations: 70.97 kB / 1.353 GB, free: 3.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/1.101, allocations: 2.899 MB / 1.356 GB, free: 1.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/1.102, allocations: 0.758 MB / 1.357 GB, free: 368 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001194/1.102, allocations: 30.58 kB / 1.357 GB, free: 348 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.102, allocations: 87.22 kB / 1.357 GB, free: 280 kB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/1.102, allocations: 4 kB / 1.357 GB, free: 276 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/1.13, allocations: 6.204 MB / 1.363 GB, free: 12.19 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/10.1, allocations: 15.44 kB / 1.363 GB, free: 12.18 MB / 1.045 GB " [Timeout remaining time 290] (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: 16.867555177013855] Failed to read output from testmodel.py, exit status != 0: 10.231880238978192 10.249948064 9.163377523 Calling exit ...