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.001852/0.001852, 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.002055/0.002055, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.45/1.45, 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.284/3.284, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.001989/0.001989, allocations: 62.73 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3174, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003077/0.3205, allocations: 1.423 MB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.323, allocations: 1.529 MB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3232, allocations: 8 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.3233, allocations: 39.53 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3235, allocations: 43.59 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.3244, allocations: 327.4 kB / 1.349 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.3249, allocations: 472.1 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.3252, allocations: 141.6 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.3255, allocations: 175.5 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3257, allocations: 179.2 kB / 1.35 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.3258, allocations: 48 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.326, allocations: 71.98 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.3261, allocations: 71.77 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.3263, allocations: 183.2 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.327, allocations: 0.5762 MB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.327, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.714e-06/0.327, allocations: 0 / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.327, allocations: 0 / 1.35 GB, free: 11.2 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.001059/0.328, allocations: 0.5867 MB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3281, allocations: 8.031 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.199e-05/0.3281, allocations: 8.844 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.3282, allocations: 62.72 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.3284, allocations: 44.75 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.3289, allocations: 243.6 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.329, allocations: 25.03 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.329, allocations: 36.38 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.3295, allocations: 234.4 kB / 1.352 GB, free: 9.875 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3295, allocations: 4 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.3295, allocations: 12 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.3295, allocations: 4 kB / 1.352 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3298, allocations: 166.5 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3312, allocations: 0.8508 MB / 1.353 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3315, allocations: 150.6 kB / 1.353 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3316, allocations: 64.75 kB / 1.353 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3317, allocations: 4 kB / 1.353 GB, free: 8.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3319, allocations: 140.9 kB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3319, allocations: 3.938 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005143/0.3324, allocations: 251.4 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3325, allocations: 55.41 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3327, allocations: 261 kB / 1.354 GB, free: 7.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.3328, allocations: 33.7 kB / 1.354 GB, free: 7.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3329, allocations: 180.7 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.333, allocations: 63.44 kB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3332, allocations: 77.67 kB / 1.354 GB, free: 7.465 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3333, allocations: 338.8 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.3335, allocations: 116.2 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.3338, allocations: 157.7 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3342, allocations: 272.5 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3342, allocations: 3.938 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007295/0.3349, allocations: 424.9 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.335, allocations: 71.33 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.335, allocations: 12.09 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.335, allocations: 0 / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.3352, allocations: 31.98 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3352, allocations: 7.938 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/0.3356, allocations: 83.66 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.3357, allocations: 19.98 kB / 1.355 GB, free: 5.871 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.0001694/0.3358, allocations: 149.8 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3359, allocations: 27.8 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.3363, allocations: 207.8 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3363, allocations: 4 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3363, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3363, allocations: 0 / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.337, allocations: 0.5934 MB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.337, allocations: 0 / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3372, allocations: 20 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3372, allocations: 4 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3372, allocations: 7.984 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3372, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3372, allocations: 3.938 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.3376, allocations: 317.2 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3376, allocations: 27.81 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.3377, allocations: 15.94 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3378, allocations: 11.97 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.3379, allocations: 23.95 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3379, allocations: 16 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001859/0.3381, allocations: 180.5 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003626/0.3384, allocations: 75.77 kB / 1.357 GB, free: 4.105 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.0007434/0.3392, allocations: 0.8728 MB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.3397, allocations: 341.3 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3397, allocations: 0 / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3399, allocations: 75.91 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3404, allocations: 64.78 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.3443, allocations: 2.892 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3447, allocations: 0.7558 MB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.3448, allocations: 26.28 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3449, allocations: 91.41 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3449, allocations: 0 / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.3733, allocations: 6.353 MB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 23.23 kB / 1.368 GB, free: 8.645 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.997841351025272] Failed to read output from testmodel.py, exit status != 0: 12.406638573971577 12.426480173 12.095889243 Calling exit ...