Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 193.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.86 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3677, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.003825/0.3716, allocations: 2.816 MB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3727, allocations: 0.5927 MB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3729, allocations: 12 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3732, allocations: 63.38 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.3734, allocations: 43.66 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3737, allocations: 155.8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.3742, allocations: 481 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.3746, allocations: 275.9 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3747, allocations: 159 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3749, allocations: 179 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.3749, allocations: 28 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.375, allocations: 24 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.3751, allocations: 87.56 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3752, allocations: 202.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3757, allocations: 0.5763 MB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3757, allocations: 4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3757, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3757, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001166/0.3769, allocations: 0.764 MB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3769, allocations: 8.031 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.377, allocations: 56.28 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.3774, allocations: 356.8 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3775, allocations: 29.38 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.3775, allocations: 44.38 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.3782, allocations: 411.5 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3782, allocations: 4.188 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.3783, allocations: 19.94 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3783, allocations: 8 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.3789, allocations: 287.8 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.3808, allocations: 1.393 MB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.3815, allocations: 262.9 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.3818, allocations: 126.5 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3818, allocations: 8 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3818, allocations: 34.56 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3818, allocations: 3.938 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006647/0.3825, allocations: 302.7 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.3826, allocations: 102.8 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.383, allocations: 421.6 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3831, allocations: 33.69 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3832, allocations: 259.6 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.3833, allocations: 74.98 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3834, allocations: 69.88 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3836, allocations: 346.8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3838, allocations: 118.1 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3841, allocations: 200.3 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.3845, allocations: 277.2 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3845, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006042/0.3852, allocations: 357.2 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3852, allocations: 15.94 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3852, allocations: 3.938 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3852, allocations: 4 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.3855, allocations: 71.89 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3855, allocations: 7.938 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3857, allocations: 55.5 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3858, allocations: 12 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002357/0.386, allocations: 200.8 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000183/0.3862, allocations: 179.1 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002722/0.3865, allocations: 232.4 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.3865, allocations: 0 / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004231/0.3869, allocations: 315 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.3869, allocations: 8 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.387, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.387, allocations: 11.88 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.3872, allocations: 55.92 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3872, allocations: 4 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3874, allocations: 43.75 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3874, allocations: 8 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001229/0.3875, allocations: 204.4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3876, allocations: 35.53 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.605e-05/0.3877, allocations: 43.58 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3877, allocations: 0 / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3877, allocations: 4 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3877, allocations: 3.984 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3888, allocations: 0.7437 MB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3888, allocations: 0 / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.389, allocations: 43.91 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.389, allocations: 4 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3891, allocations: 12 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3891, allocations: 0 / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3891, allocations: 4.094 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.3898, allocations: 467.9 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.3899, allocations: 116.6 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.3899, allocations: 8 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3901, allocations: 19.97 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.3901, allocations: 12.17 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3902, allocations: 4 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003086/0.3905, allocations: 295.2 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3905, allocations: 0 / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005119/0.391, allocations: 135.5 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001341/0.3911, allocations: 120.5 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007093/0.3919, allocations: 381.9 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3919, allocations: 4 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3921, allocations: 95.83 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.3927, allocations: 84.12 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.394, allocations: 0.8557 MB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3944, allocations: 0.8077 MB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.3946, allocations: 47.25 kB / 1.085 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.3946, allocations: 27.44 kB / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3947, allocations: 0 / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of Templates: time 0.007298/0.402, allocations: 3.52 MB / 1.088 GB, free: 5.117 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)