Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.4 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009961/0.0009962, allocations: 180.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008944/0.0008949, allocations: 94.3 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006767/0.0006768, allocations: 14.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3309, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003718/0.3347, allocations: 2.603 MB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.338, allocations: 1.638 MB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.3387, allocations: 23.94 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.3391, allocations: 106.9 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005097/0.3396, allocations: 91.28 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.3402, allocations: 215.7 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3412, allocations: 0.9167 MB / 0.9851 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.342, allocations: 443.6 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.3423, allocations: 246.5 kB / 0.9857 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.3426, allocations: 302 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.882e-05/0.3427, allocations: 31.94 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.3428, allocations: 24 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3429, allocations: 131.3 kB / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3431, allocations: 161.2 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008712/0.3439, allocations: 0.978 MB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.344, allocations: 0 / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.344, allocations: 0 / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.344, allocations: 0 / 0.9873 GB, free: 19.7 MB / 0.6198 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.002611/0.3466, allocations: 1.192 MB / 0.9885 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3467, allocations: 8.031 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.347, allocations: 118.6 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.348, allocations: 0.5628 MB / 0.9891 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.3481, allocations: 66 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3483, allocations: 99.84 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3503, allocations: 0.8588 MB / 0.9901 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.3503, allocations: 0 / 0.9901 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3504, allocations: 39.94 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.3505, allocations: 20 kB / 0.9902 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.352, allocations: 0.6207 MB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.3566, allocations: 2.736 MB / 0.9935 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3582, allocations: 1.323 MB / 0.9948 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.359, allocations: 382.6 kB / 0.9951 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.359, allocations: 20.44 kB / 0.9951 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007944/0.3598, allocations: 343.1 kB / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 4.278e-06/0.3598, allocations: 0 / 0.9955 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001941/0.3618, allocations: 0.8144 MB / 0.9963 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3619, allocations: 166.8 kB / 0.9964 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.3627, allocations: 0.59 MB / 0.997 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.3628, allocations: 41.7 kB / 0.997 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.3631, allocations: 420 kB / 0.9974 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.3632, allocations: 228.6 kB / 0.9977 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3633, allocations: 16.11 kB / 0.9977 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3634, allocations: 386.7 kB / 0.998 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.364, allocations: 229.2 kB / 0.9983 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.3646, allocations: 349.4 kB / 0.9986 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.3652, allocations: 259.1 kB / 0.9988 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3652, allocations: 0 / 0.9988 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001389/0.3666, allocations: 0.6799 MB / 0.9995 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.3667, allocations: 118.3 kB / 0.9996 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3667, allocations: 0 / 0.9996 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.3668, allocations: 4 kB / 0.9996 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.3675, allocations: 155.7 kB / 0.9998 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3675, allocations: 4 kB / 0.9998 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.3681, allocations: 103.4 kB / 0.9999 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3681, allocations: 27.98 kB / 0.9999 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.3681, allocations: 8 kB / 0.9999 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007913/0.3689, allocations: 467.6 kB / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3689, allocations: 0 / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.369, allocations: 4 kB / 1 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.3695, allocations: 119.8 kB / 1 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3696, allocations: 7.953 kB / 1 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.3699, allocations: 87.44 kB / 1.001 GB, free: 5.617 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.37, allocations: 20 kB / 1.001 GB, free: 5.598 MB / 0.6198 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 ($whenCondition1,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.3704, allocations: 297 kB / 1.001 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3705, allocations: 79 kB / 1.001 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.3707, allocations: 78.95 kB / 1.001 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3707, allocations: 8 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.3707, allocations: 3.953 kB / 1.001 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3707, allocations: 3.984 kB / 1.001 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3734, allocations: 1.59 MB / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3735, allocations: 0 / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.3742, allocations: 127.8 kB / 1.003 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3742, allocations: 4 kB / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.3743, allocations: 15.98 kB / 1.003 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.3743, allocations: 11.94 kB / 1.003 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3743, allocations: 4.016 kB / 1.003 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.3763, allocations: 1.01 MB / 1.004 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3764, allocations: 160.1 kB / 1.004 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/0.3765, allocations: 20 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.377, allocations: 55.95 kB / 1.004 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.3771, allocations: 36.55 kB / 1.004 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.3772, allocations: 23.98 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005692/0.3777, allocations: 415.1 kB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3778, allocations: 4 kB / 1.004 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009109/0.3787, allocations: 306.4 kB / 1.005 GB, free: 1.266 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.3789, allocations: 119.2 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.3808, allocations: 0.828 MB / 1.006 GB, free: 320 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3809, allocations: 0 / 1.006 GB, free: 320 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.3815, allocations: 307.2 kB / 1.006 GB, free: 12 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3827, allocations: 148 kB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.3867, allocations: 1.819 MB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.3875, allocations: 0.9742 MB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005475/0.3881, allocations: 89.19 kB / 1.009 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3883, allocations: 55.42 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of SimCode: time 3.877e-06/0.3883, allocations: 4 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.02012/0.4084, allocations: 6.54 MB / 1.015 GB, free: 6.395 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)