Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, 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.001308/0.001308, allocations: 198.5 kB / 16.14 MB, free: 6.66 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.03 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3292, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.005764/0.335, allocations: 4.337 MB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3372, allocations: 1.049 MB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.3377, allocations: 27.94 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.3381, allocations: 134.7 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.3386, allocations: 87.31 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.3391, allocations: 323.7 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000896/0.34, allocations: 1.026 MB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008637/0.3409, allocations: 0.6471 MB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.3412, allocations: 350.2 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.3416, allocations: 413.5 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.3417, allocations: 64 kB / 1.076 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.3418, allocations: 60 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3419, allocations: 207 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.3423, allocations: 453.1 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.3433, allocations: 1.316 MB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3433, allocations: 4 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3433, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3433, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002056/0.3454, allocations: 1.344 MB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3454, allocations: 12.03 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3456, allocations: 123.4 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.3463, allocations: 0.5713 MB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.3463, allocations: 78.31 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3465, allocations: 104.3 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.348, allocations: 0.9062 MB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.348, allocations: 192 / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.3481, allocations: 47.92 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3481, allocations: 20 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3493, allocations: 0.6559 MB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.3532, allocations: 2.829 MB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3544, allocations: 0.7011 MB / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.355, allocations: 406.8 kB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.3551, allocations: 8.656 kB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007058/0.3558, allocations: 364.2 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.634e-06/0.3558, allocations: 0 / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001603/0.3574, allocations: 0.8328 MB / 1.086 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.3575, allocations: 162.9 kB / 1.087 GB, free: 7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.3582, allocations: 0.5862 MB / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.3583, allocations: 45.69 kB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.3586, allocations: 448.1 kB / 1.088 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3588, allocations: 248.3 kB / 1.088 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.359, allocations: 134.6 kB / 1.088 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3592, allocations: 386.8 kB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.3597, allocations: 248.7 kB / 1.089 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.3603, allocations: 386 kB / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009849/0.3613, allocations: 0.5652 MB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3613, allocations: 0 / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001239/0.3626, allocations: 0.7347 MB / 1.09 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3626, allocations: 4 kB / 1.09 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3626, allocations: 4 kB / 1.09 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3626, allocations: 4 kB / 1.09 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.3632, allocations: 155.8 kB / 1.09 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3633, allocations: 4 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.3636, allocations: 99.36 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.3637, allocations: 24 kB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005324/0.3642, allocations: 362.1 kB / 1.091 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003937/0.3646, allocations: 330 kB / 1.091 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006725/0.3653, allocations: 490.8 kB / 1.092 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.3653, allocations: 3.984 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0008964/0.3662, allocations: 0.6373 MB / 1.092 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3662, allocations: 7.938 kB / 1.092 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.3662, allocations: 3.938 kB / 1.092 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.3663, allocations: 4 kB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.3667, allocations: 135.8 kB / 1.092 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3667, allocations: 7.938 kB / 1.092 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.367, allocations: 87.45 kB / 1.093 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.3671, allocations: 28 kB / 1.093 GB, free: 0.7344 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0001791/0.3673, allocations: 212.8 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3674, allocations: 86.98 kB / 1.093 GB, free: 444 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.3675, allocations: 87.73 kB / 1.093 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3676, allocations: 4 kB / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3676, allocations: 0 / 1.093 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3676, allocations: 11.92 kB / 1.093 GB, free: 336 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.3698, allocations: 1.609 MB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3698, allocations: 0 / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.3704, allocations: 135.8 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3704, allocations: 4 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.3705, allocations: 23.98 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3705, allocations: 0 / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3705, allocations: 0 / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3722, allocations: 1.057 MB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3723, allocations: 160 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.3724, allocations: 12 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.3727, allocations: 43.95 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.3728, allocations: 40.59 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3729, allocations: 23.98 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004769/0.3734, allocations: 419.1 kB / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3734, allocations: 0 / 1.096 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006983/0.3741, allocations: 326.3 kB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001674/0.3742, allocations: 128.5 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.3758, allocations: 0.9151 MB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3758, allocations: 0 / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.3763, allocations: 312.1 kB / 1.098 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007717/0.3771, allocations: 165.7 kB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3797, allocations: 1.995 MB / 1.1 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.3801, allocations: 0.99 MB / 1.101 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.3805, allocations: 89.53 kB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3807, allocations: 59.42 kB / 1.101 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3807, allocations: 0 / 1.101 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.01335/0.394, allocations: 7.442 MB / 1.109 GB, free: 348 kB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)