Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001331/0.001331, allocations: 98.08 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.001586/0.001586, allocations: 220.4 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003361/0.003361, allocations: 67.28 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3688, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002954/0.3718, allocations: 1.426 MB / 1.328 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3742, allocations: 1.525 MB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.3744, allocations: 4 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.3746, allocations: 35.53 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3747, allocations: 55.59 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.3756, allocations: 332.5 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.3762, allocations: 464.2 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3765, allocations: 145.6 kB / 1.331 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3768, allocations: 175.5 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.377, allocations: 171.3 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.3771, allocations: 52 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3773, allocations: 75.92 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.3774, allocations: 71.77 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.3776, allocations: 179.2 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.3783, allocations: 0.5801 MB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3783, allocations: 4 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3783, allocations: 0 / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3783, allocations: 0 / 1.332 GB, free: 12.71 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.001036/0.3793, allocations: 0.575 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3794, allocations: 16.03 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.783e-05/0.3794, allocations: 8.828 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.3794, allocations: 62.73 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.3796, allocations: 44.69 kB / 1.333 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3801, allocations: 243.6 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.3801, allocations: 25.03 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.3802, allocations: 36.38 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3806, allocations: 226.4 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3806, allocations: 4 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3806, allocations: 15.98 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3806, allocations: 8 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.381, allocations: 166.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.3824, allocations: 0.8353 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.3827, allocations: 146.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3828, allocations: 68.78 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3828, allocations: 3.984 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.3831, allocations: 149 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 3.677e-06/0.3831, allocations: 7.922 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0004943/0.3836, allocations: 251.1 kB / 1.335 GB, free: 9.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3836, allocations: 59.34 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.3839, allocations: 261 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.3839, allocations: 41.7 kB / 1.335 GB, free: 9.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3841, allocations: 177 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.3842, allocations: 63.44 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3843, allocations: 77.67 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3845, allocations: 334.8 kB / 1.336 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.3847, allocations: 116.2 kB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.385, allocations: 169.6 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.3853, allocations: 265.2 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3854, allocations: 3.938 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007173/0.3861, allocations: 424.7 kB / 1.337 GB, free: 7.625 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/0.3862, allocations: 71.34 kB / 1.337 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3862, allocations: 0 / 1.337 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3862, allocations: 7.984 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3863, allocations: 36.09 kB / 1.337 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3863, allocations: 7.984 kB / 1.337 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.3868, allocations: 75.66 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.3868, allocations: 15.98 kB / 1.337 GB, free: 7.402 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.000173/0.387, allocations: 154.4 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.387, allocations: 31.75 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.3874, allocations: 211.8 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3875, allocations: 4 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3875, allocations: 0 / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3875, allocations: 0 / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.3882, allocations: 0.5989 MB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3882, allocations: 4.031 kB / 1.338 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.3883, allocations: 19.98 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3883, allocations: 4 kB / 1.338 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3884, allocations: 8 kB / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3884, allocations: 0 / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3884, allocations: 0 / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.3887, allocations: 324.2 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.3888, allocations: 19.86 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3888, allocations: 11.92 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.389, allocations: 12 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.389, allocations: 27.91 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.389, allocations: 4 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002055/0.3893, allocations: 184.5 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3893, allocations: 4 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003811/0.3896, allocations: 75.81 kB / 1.338 GB, free: 5.629 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.0008559/0.3905, allocations: 0.8741 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005903/0.3911, allocations: 342.5 kB / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3911, allocations: 0 / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3912, allocations: 79.91 kB / 1.34 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.3917, allocations: 61.78 kB / 1.34 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.3958, allocations: 2.88 MB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3962, allocations: 0.7597 MB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.3964, allocations: 30.27 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3965, allocations: 87.41 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.3965, allocations: 0 / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.4254, allocations: 6.356 MB / 1.35 GB, free: 10.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 6.031 kB / 1.35 GB, free: 10.2 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.06881262297975] Failed to read output from testmodel.py, exit status != 0: 12.394242607988417 12.40979606 12.028104143 Calling exit ...