Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 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.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001951/0.001951, allocations: 192 kB / 16.25 MB, free: 6.633 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.523/1.523, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 69.77 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3682, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005171/0.3734, allocations: 3.311 MB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.377, allocations: 1.68 MB / 1.073 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.3776, allocations: 19.94 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.378, allocations: 114.9 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.3784, allocations: 79.44 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.3791, allocations: 307.7 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.3801, allocations: 1.065 MB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.3813, allocations: 0.6272 MB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.3818, allocations: 410.2 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.3822, allocations: 445.6 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3824, allocations: 120 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3825, allocations: 120 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3827, allocations: 255.1 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.3831, allocations: 489.2 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.3842, allocations: 1.258 MB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3842, allocations: 0 / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3842, allocations: 0 / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3842, allocations: 0 / 1.078 GB, free: 496 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002275/0.3865, allocations: 1.286 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3866, allocations: 12.03 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.3867, allocations: 119.5 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.3875, allocations: 0.5519 MB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.3876, allocations: 70.38 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3877, allocations: 96.38 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.3893, allocations: 0.8788 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.3893, allocations: 192 / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.3894, allocations: 43.94 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3894, allocations: 20 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.3906, allocations: 0.6207 MB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.3947, allocations: 2.821 MB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3963, allocations: 1.296 MB / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.3969, allocations: 403.9 kB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.397, allocations: 12.64 kB / 1.086 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007516/0.3978, allocations: 352.3 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.495e-06/0.3978, allocations: 0 / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001584/0.3994, allocations: 0.8172 MB / 1.087 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.3995, allocations: 162.9 kB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.4003, allocations: 0.5654 MB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.4004, allocations: 45.69 kB / 1.088 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.4008, allocations: 392.2 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.4011, allocations: 252.2 kB / 1.088 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.4013, allocations: 126.7 kB / 1.088 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002828/0.4016, allocations: 378.8 kB / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.4022, allocations: 252.7 kB / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.4029, allocations: 369.2 kB / 1.089 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.404, allocations: 0.537 MB / 1.09 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.404, allocations: 0 / 1.09 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001391/0.4054, allocations: 0.7076 MB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4054, allocations: 8 kB / 1.091 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4055, allocations: 3.984 kB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.4055, allocations: 7.938 kB / 1.091 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.4061, allocations: 147.8 kB / 1.091 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.4061, allocations: 11.88 kB / 1.091 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.4066, allocations: 99.34 kB / 1.091 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.4066, allocations: 24 kB / 1.091 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006175/0.4072, allocations: 350.1 kB / 1.091 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004788/0.4077, allocations: 305.2 kB / 1.091 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007307/0.4085, allocations: 469.9 kB / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4085, allocations: 0 / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009777/0.4095, allocations: 0.61 MB / 1.092 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4095, allocations: 5.406 kB / 1.092 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4095, allocations: 8.094 kB / 1.092 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.4095, allocations: 4 kB / 1.093 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.41, allocations: 135.8 kB / 1.093 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.41, allocations: 8.141 kB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.4104, allocations: 87.33 kB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.4104, allocations: 24 kB / 1.093 GB, free: 0.5352 MB / 0.8419 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 (87): * Single equations (assignments): 87 * 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.000206/0.4106, allocations: 216.8 kB / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.4107, allocations: 71.16 kB / 1.093 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4119, allocations: 0.6378 MB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.412, allocations: 11.98 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.412, allocations: 15.88 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.412, allocations: 0 / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.4145, allocations: 1.688 MB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4145, allocations: 0 / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.415, allocations: 144 kB / 1.095 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4151, allocations: 4 kB / 1.095 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.4151, allocations: 19.94 kB / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.4151, allocations: 7.938 kB / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4151, allocations: 0 / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4168, allocations: 1.077 MB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.4169, allocations: 156.1 kB / 1.097 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.417, allocations: 19.98 kB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4174, allocations: 39.97 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.4175, allocations: 52.44 kB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.4175, allocations: 23.98 kB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004776/0.418, allocations: 394.8 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.418, allocations: 0 / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007429/0.4187, allocations: 306.5 kB / 1.097 GB, free: 11.54 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0002413/0.419, allocations: 131.2 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.4209, allocations: 0.9184 MB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4209, allocations: 0 / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.4215, allocations: 319.7 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.4223, allocations: 141.5 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4252, allocations: 1.903 MB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/0.426, allocations: 0.9778 MB / 1.102 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.4263, allocations: 93.16 kB / 1.102 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.4265, allocations: 59.42 kB / 1.102 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.4265, allocations: 0 / 1.102 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.01561/0.4421, allocations: 7.452 MB / 1.109 GB, free: 15.53 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1)