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.001427/0.001427, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001783/0.001783, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.001966/0.001966, allocations: 67.59 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 176.1 MB / 1.327 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.003093/0.3253, allocations: 1.278 MB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3277, allocations: 1.505 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.3279, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3281, allocations: 39.53 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3283, allocations: 47.59 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/0.3292, allocations: 334.9 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.3298, allocations: 464.1 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.3301, allocations: 149.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.3303, allocations: 171.5 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.3306, allocations: 175.2 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.3307, allocations: 48 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.3308, allocations: 75.97 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.3309, allocations: 63.78 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.331, allocations: 167.3 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008867/0.3319, allocations: 0.5724 MB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3319, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3319, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.332, allocations: 3.938 kB / 1.332 GB, free: 12.51 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.001147/0.3331, allocations: 0.5828 MB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3331, allocations: 8.031 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001159/0.3333, allocations: 8.844 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.618e-05/0.3333, allocations: 62.72 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.3335, allocations: 44.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.334, allocations: 243.6 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.3341, allocations: 29.02 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.3341, allocations: 36.38 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.3346, allocations: 234.4 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3346, allocations: 3.938 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3346, allocations: 8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3346, allocations: 8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.335, allocations: 162.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3364, allocations: 0.7379 MB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.3367, allocations: 168 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3369, allocations: 60.84 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3369, allocations: 4 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3371, allocations: 140.4 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.3371, allocations: 3.938 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005747/0.3377, allocations: 251.4 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3378, allocations: 59.41 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.3381, allocations: 257 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.3381, allocations: 37.7 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3383, allocations: 172.7 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.3383, allocations: 71.73 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3385, allocations: 77.67 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3387, allocations: 334.8 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.3391, allocations: 179.6 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.3394, allocations: 225.1 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.3398, allocations: 277.1 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3398, allocations: 8 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007731/0.3406, allocations: 484.1 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/0.3407, allocations: 79.33 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3407, allocations: 4 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3407, allocations: 4 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3409, allocations: 27.98 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3409, allocations: 3.938 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.3413, allocations: 83.86 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.3413, allocations: 16 kB / 1.337 GB, free: 7.066 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.0002651/0.3416, allocations: 158.3 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3416, allocations: 31.75 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.342, allocations: 205.9 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.342, allocations: 0 / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.342, allocations: 0 / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.342, allocations: 7.984 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.3429, allocations: 0.5636 MB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3429, allocations: 0 / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.343, allocations: 23.98 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.343, allocations: 0 / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.343, allocations: 8 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.343, allocations: 3.938 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.343, allocations: 4 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3434, allocations: 309.9 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3435, allocations: 27.86 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.3435, allocations: 11.98 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3437, allocations: 4 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.3437, allocations: 27.91 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3437, allocations: 15.94 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001931/0.3439, allocations: 184.5 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3439, allocations: 0 / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004099/0.3444, allocations: 75.77 kB / 1.338 GB, free: 5.328 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.0008048/0.3452, allocations: 0.8701 MB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006507/0.3458, allocations: 409.9 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3458, allocations: 0 / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.346, allocations: 85.38 kB / 1.339 GB, free: 3.906 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.3465, allocations: 60.89 kB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.351, allocations: 3.14 MB / 1.343 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3512, allocations: 154.8 kB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.3513, allocations: 26.3 kB / 1.343 GB, free: 328 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3515, allocations: 95.39 kB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/0.3515, allocations: 3.938 kB / 1.343 GB, free: 228 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3822, allocations: 6.656 MB / 1.349 GB, free: 9.875 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.59, allocations: 4 kB / 1.349 GB, free: 9.871 MB / 1.045 GB " [Timeout remaining time 287] (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.525111231952906] Failed to read output from testmodel.py, exit status != 0: 12.7590294679394 12.77864761 12.443486941 Calling exit ...