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.00162/0.00162, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.001811, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.803/1.803, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.822/1.822, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001521/0.001521, allocations: 74.56 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.301, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005024/0.3061, allocations: 3.297 MB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.3098, allocations: 1.7 MB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.3106, allocations: 19.94 kB / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.3113, allocations: 158.2 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.312, allocations: 138.6 kB / 0.7886 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.3128, allocations: 347.5 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.314, allocations: 1.049 MB / 0.7899 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000927/0.315, allocations: 0.6154 MB / 0.7905 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.3154, allocations: 398.3 kB / 0.7909 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.3159, allocations: 453.5 kB / 0.7913 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.3161, allocations: 120 kB / 0.7915 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3162, allocations: 116 kB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3164, allocations: 243.2 kB / 0.7918 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.3168, allocations: 497.1 kB / 0.7923 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3181, allocations: 1.269 MB / 0.7935 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3182, allocations: 4 kB / 0.7935 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3182, allocations: 0 / 0.7935 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.3182, allocations: 0 / 0.7935 GB, free: 3.004 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.002467/0.3207, allocations: 1.321 MB / 0.7948 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3207, allocations: 15.95 kB / 0.7948 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.3209, allocations: 115.5 kB / 0.7949 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.3218, allocations: 0.5947 MB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.3219, allocations: 66.38 kB / 0.7956 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.322, allocations: 96.28 kB / 0.7957 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.3236, allocations: 0.8438 MB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3236, allocations: 4.125 kB / 0.7965 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.3237, allocations: 39.94 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.3237, allocations: 20 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3249, allocations: 0.6012 MB / 0.7971 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.3291, allocations: 2.693 MB / 0.7998 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3307, allocations: 1.298 MB / 0.801 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.3314, allocations: 374.6 kB / 0.8014 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.3314, allocations: 8.562 kB / 0.8014 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/0.3322, allocations: 335.1 kB / 0.8017 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.747e-06/0.3322, allocations: 0 / 0.8017 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001729/0.3339, allocations: 0.7597 MB / 0.8025 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3341, allocations: 166.8 kB / 0.8026 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.335, allocations: 0.594 MB / 0.8032 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.335, allocations: 41.69 kB / 0.8032 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.3354, allocations: 424 kB / 0.8036 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.3356, allocations: 232.6 kB / 0.8039 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.3358, allocations: 114.3 kB / 0.804 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.336, allocations: 386.7 kB / 0.8043 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.3365, allocations: 227.4 kB / 0.8046 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.337, allocations: 341.3 kB / 0.8049 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.338, allocations: 0.4883 MB / 0.8054 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.338, allocations: 3.938 kB / 0.8054 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001251/0.3393, allocations: 0.6565 MB / 0.806 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3393, allocations: 4 kB / 0.806 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3393, allocations: 4.078 kB / 0.806 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.3394, allocations: 4 kB / 0.806 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.3399, allocations: 139.9 kB / 0.8061 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.3399, allocations: 11.92 kB / 0.8062 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.3404, allocations: 91.48 kB / 0.8062 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.3404, allocations: 19.98 kB / 0.8063 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005374/0.341, allocations: 333.3 kB / 0.8066 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000381/0.3413, allocations: 285.4 kB / 0.8069 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006611/0.342, allocations: 428.1 kB / 0.8073 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.342, allocations: 0 / 0.8073 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0009309/0.343, allocations: 0.5589 MB / 0.8078 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.343, allocations: 4.938 kB / 0.8078 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.343, allocations: 3.938 kB / 0.8078 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.343, allocations: 8.094 kB / 0.8078 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.3435, allocations: 127.8 kB / 0.8079 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3435, allocations: 4 kB / 0.808 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3438, allocations: 71.47 kB / 0.808 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3439, allocations: 23.98 kB / 0.808 GB, free: 3.547 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.0002862/0.3442, allocations: 226.9 kB / 0.8083 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3443, allocations: 71.16 kB / 0.8083 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.3445, allocations: 82.95 kB / 0.8084 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3445, allocations: 11.98 kB / 0.8084 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.3445, allocations: 0 / 0.8084 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3445, allocations: 3.984 kB / 0.8084 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.347, allocations: 1.551 MB / 0.8099 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.347, allocations: 0 / 0.8099 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.3475, allocations: 131.8 kB / 0.8101 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3476, allocations: 0 / 0.8101 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3476, allocations: 16 kB / 0.8101 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3476, allocations: 4 kB / 0.8101 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3476, allocations: 0 / 0.8101 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3493, allocations: 0.971 MB / 0.811 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3494, allocations: 163.9 kB / 0.8112 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.3495, allocations: 16 kB / 0.8112 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.3498, allocations: 39.95 kB / 0.8112 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.3499, allocations: 36.52 kB / 0.8113 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.35, allocations: 23.92 kB / 0.8113 GB, free: 116 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005986/0.3506, allocations: 431.1 kB / 0.8117 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3506, allocations: 0 / 0.8117 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007869/0.3514, allocations: 298.5 kB / 0.812 GB, free: 15.4 MB / 0.6387 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.0002776/0.3517, allocations: 127.2 kB / 0.8121 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.3536, allocations: 0.8355 MB / 0.8129 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3536, allocations: 0 / 0.8129 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.3541, allocations: 287.1 kB / 0.8132 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.355, allocations: 159.5 kB / 0.8134 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.3581, allocations: 1.503 MB / 0.8148 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.359, allocations: 0.9778 MB / 0.8158 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004364/0.3594, allocations: 89.19 kB / 0.8159 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3596, allocations: 59.42 kB / 0.8159 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/0.3596, allocations: 0 / 0.8159 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of Templates: time 0.01648/0.3761, allocations: 7.193 MB / 0.8229 GB, free: 4.199 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)