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.001308/0.001309, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001432/0.001432, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 472.6 MB / 0.7448 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.56 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3254, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.00621/0.3317, allocations: 4.333 MB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00275/0.3345, allocations: 1.049 MB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.3351, allocations: 23.94 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.3356, allocations: 138.7 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.3361, allocations: 87.33 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.3368, allocations: 319.7 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.3378, allocations: 1.112 MB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.3387, allocations: 0.6705 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.3391, allocations: 394.3 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.3396, allocations: 465.5 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.3397, allocations: 123.9 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3399, allocations: 128 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.3401, allocations: 263.1 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.3405, allocations: 0.4971 MB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3417, allocations: 1.375 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3417, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3417, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3417, allocations: 0 / 1.078 GB, free: 15.7 MB / 0.8419 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.00216/0.3439, allocations: 1.344 MB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.344, allocations: 12.03 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.3441, allocations: 123.4 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.3449, allocations: 0.5752 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.3449, allocations: 70.38 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3451, allocations: 104.3 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3466, allocations: 0.9023 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.3466, allocations: 4.125 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.3467, allocations: 43.92 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.3467, allocations: 24 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3479, allocations: 0.6519 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.3519, allocations: 2.837 MB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.3531, allocations: 0.6948 MB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.3537, allocations: 398.8 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.3538, allocations: 8.656 kB / 1.086 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.3546, allocations: 368.2 kB / 1.086 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.815e-06/0.3546, allocations: 0 / 1.086 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.00164/0.3562, allocations: 0.8327 MB / 1.087 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.3563, allocations: 162.9 kB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.357, allocations: 0.5862 MB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.357, allocations: 45.69 kB / 1.088 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.3573, allocations: 448.1 kB / 1.088 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.3575, allocations: 256.3 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.3577, allocations: 138.6 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3579, allocations: 382.8 kB / 1.089 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.3584, allocations: 252.7 kB / 1.089 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.359, allocations: 378 kB / 1.09 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.36, allocations: 0.5612 MB / 1.09 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.36, allocations: 4 kB / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001271/0.3613, allocations: 0.7308 MB / 1.091 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3613, allocations: 8 kB / 1.091 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3614, allocations: 0 / 1.091 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3614, allocations: 4.125 kB / 1.091 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.362, allocations: 175.7 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3621, allocations: 7.938 kB / 1.091 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.3624, allocations: 95.23 kB / 1.091 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.3625, allocations: 24 kB / 1.091 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005271/0.363, allocations: 362.1 kB / 1.092 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004074/0.3634, allocations: 326.1 kB / 1.092 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006592/0.3641, allocations: 486.8 kB / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.3641, allocations: 0 / 1.092 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.0008786/0.365, allocations: 0.6411 MB / 1.093 GB, free: 308 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.365, allocations: 11.94 kB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.365, allocations: 0 / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.3651, allocations: 4 kB / 1.093 GB, free: 292 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.3655, allocations: 135.8 kB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3656, allocations: 12.06 kB / 1.093 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.3659, allocations: 83.39 kB / 1.093 GB, free: 60 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.3659, allocations: 20 kB / 1.093 GB, free: 40 kB / 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.0002174/0.3662, allocations: 224.7 kB / 1.093 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.3663, allocations: 82.98 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.3664, allocations: 83.73 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3665, allocations: 8 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3665, allocations: 4 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3665, allocations: 3.984 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.3687, allocations: 1.605 MB / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3687, allocations: 0 / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.3693, allocations: 135.8 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3693, allocations: 4 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.3694, allocations: 19.98 kB / 1.095 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3694, allocations: 4 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3694, allocations: 0 / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.3711, allocations: 1.045 MB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3712, allocations: 160 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.3713, allocations: 16 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.3716, allocations: 43.95 kB / 1.097 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.3717, allocations: 40.59 kB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.3718, allocations: 27.98 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004479/0.3722, allocations: 415.1 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.403e-06/0.3722, allocations: 4.031 kB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007002/0.3729, allocations: 330.3 kB / 1.097 GB, free: 11.71 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.0001972/0.3731, allocations: 128.6 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.3751, allocations: 0.9385 MB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3751, allocations: 0.5 kB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.3757, allocations: 319.7 kB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.3765, allocations: 183.9 kB / 1.099 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.3792, allocations: 1.993 MB / 1.101 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.3797, allocations: 0.9975 MB / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003683/0.3801, allocations: 89.53 kB / 1.102 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3803, allocations: 55.42 kB / 1.102 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3803, allocations: 0 / 1.102 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of Templates: time 0.01454/0.3949, allocations: 7.777 MB / 1.11 GB, free: 15.26 MB / 0.8731 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)