Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00145/0.00145, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 66.41 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.004204/0.3043, allocations: 3.288 MB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3068, allocations: 1.657 MB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.3073, allocations: 19.94 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.3077, allocations: 114.9 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.3082, allocations: 87.31 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.3087, allocations: 299.8 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.3097, allocations: 0.975 MB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.3105, allocations: 0.5919 MB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.3109, allocations: 338.2 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3112, allocations: 413.6 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3114, allocations: 56 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.3115, allocations: 60 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3116, allocations: 203.1 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.312, allocations: 421.2 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.3129, allocations: 1.222 MB / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3129, allocations: 0 / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3129, allocations: 0 / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3129, allocations: 0 / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002158/0.3151, allocations: 1.325 MB / 0.7935 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3151, allocations: 16.03 kB / 0.7935 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3153, allocations: 119.5 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.316, allocations: 0.587 MB / 0.7942 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.3161, allocations: 70.31 kB / 0.7942 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3162, allocations: 92.28 kB / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3176, allocations: 0.8438 MB / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3177, allocations: 192 / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.3178, allocations: 43.94 kB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.3178, allocations: 20 kB / 0.7952 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.319, allocations: 0.605 MB / 0.7958 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.3227, allocations: 2.689 MB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.3242, allocations: 1.295 MB / 0.7997 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.3248, allocations: 374.6 kB / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.3249, allocations: 12.55 kB / 0.8001 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.3256, allocations: 327.1 kB / 0.8004 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/0.3256, allocations: 4 kB / 0.8004 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001554/0.3272, allocations: 0.7713 MB / 0.8011 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.3273, allocations: 162.8 kB / 0.8013 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.3281, allocations: 0.5901 MB / 0.8019 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.3281, allocations: 45.69 kB / 0.8019 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.3285, allocations: 416 kB / 0.8023 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.3287, allocations: 240.5 kB / 0.8025 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3289, allocations: 118.3 kB / 0.8026 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3291, allocations: 386.7 kB / 0.803 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.3295, allocations: 223.4 kB / 0.8032 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.3301, allocations: 333.4 kB / 0.8035 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/0.331, allocations: 0.4961 MB / 0.804 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.331, allocations: 4 kB / 0.804 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00118/0.3322, allocations: 0.6564 MB / 0.8047 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3322, allocations: 4 kB / 0.8047 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3322, allocations: 0 / 0.8047 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3323, allocations: 8.094 kB / 0.8047 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.3328, allocations: 143.8 kB / 0.8048 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3329, allocations: 4 kB / 0.8048 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.3332, allocations: 83.48 kB / 0.8049 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3333, allocations: 27.94 kB / 0.8049 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004808/0.3338, allocations: 334 kB / 0.8052 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/0.3341, allocations: 285.4 kB / 0.8055 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005722/0.3347, allocations: 428 kB / 0.8059 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3347, allocations: 0 / 0.8059 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0007415/0.3354, allocations: 0.5589 MB / 0.8065 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3354, allocations: 8 kB / 0.8065 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.3355, allocations: 0 / 0.8065 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.3355, allocations: 4 kB / 0.8065 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.3359, allocations: 119.8 kB / 0.8066 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3359, allocations: 4 kB / 0.8066 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.3362, allocations: 83.55 kB / 0.8067 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3362, allocations: 20 kB / 0.8067 GB, free: 4.781 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001946/0.3364, allocations: 224 kB / 0.8069 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.3365, allocations: 67.16 kB / 0.807 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.3367, allocations: 82.95 kB / 0.8071 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3367, allocations: 4 kB / 0.8071 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.3367, allocations: 7.984 kB / 0.8071 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3367, allocations: 8 kB / 0.8071 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.339, allocations: 1.547 MB / 0.8086 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.339, allocations: 0 / 0.8086 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.3395, allocations: 127.7 kB / 0.8087 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3396, allocations: 4 kB / 0.8087 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.3396, allocations: 16 kB / 0.8087 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.078e-06/0.3396, allocations: 4 kB / 0.8087 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3396, allocations: 0 / 0.8087 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3412, allocations: 0.9748 MB / 0.8097 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3414, allocations: 167.9 kB / 0.8098 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.3414, allocations: 12 kB / 0.8099 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.3418, allocations: 43.95 kB / 0.8099 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.3418, allocations: 36.5 kB / 0.8099 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3419, allocations: 20 kB / 0.8099 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000517/0.3424, allocations: 423.1 kB / 0.8104 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3424, allocations: 3.938 kB / 0.8104 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007734/0.3432, allocations: 302.5 kB / 0.8106 GB, free: 0.6367 MB / 0.6231 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 (68): * Single equations (assignments): 68 * 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.0002275/0.3434, allocations: 127.2 kB / 0.8108 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.3449, allocations: 0.8046 MB / 0.8115 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3449, allocations: 0 / 0.8115 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.3453, allocations: 287.1 kB / 0.8118 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.3461, allocations: 138.3 kB / 0.812 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.3487, allocations: 1.865 MB / 0.8138 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.3492, allocations: 0.9858 MB / 0.8147 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.3495, allocations: 89.3 kB / 0.8148 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3497, allocations: 55.42 kB / 0.8149 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/0.3497, allocations: 0 / 0.8149 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.01385/0.3635, allocations: 6.854 MB / 0.8216 GB, free: 5.449 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)