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.001676/0.001676, 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.002046/0.002046, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.88 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.349, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005921/0.3549, allocations: 3.319 MB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003506/0.3585, allocations: 1.727 MB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.3597, allocations: 16 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.3606, allocations: 158.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009491/0.3616, allocations: 126.7 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3626, allocations: 363.1 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.3641, allocations: 1.061 MB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3653, allocations: 0.6389 MB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.3658, allocations: 398.3 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.3663, allocations: 457.5 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.3664, allocations: 120 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3665, allocations: 116 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3667, allocations: 251.2 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.3671, allocations: 481.3 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.3682, allocations: 1.262 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3682, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3682, allocations: 4 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3682, allocations: 0 / 1.078 GB, free: 15.9 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002054/0.3703, allocations: 1.282 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3704, allocations: 16.02 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.3705, allocations: 115.5 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.3712, allocations: 0.5519 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.3713, allocations: 74.38 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.3714, allocations: 92.38 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3728, allocations: 0.875 MB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3728, allocations: 8.125 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/0.3729, allocations: 43.94 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3729, allocations: 20 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.3741, allocations: 0.6207 MB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.378, allocations: 2.821 MB / 1.085 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3795, allocations: 1.3 MB / 1.086 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.3802, allocations: 395.9 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.507e-05/0.3802, allocations: 12.64 kB / 1.086 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.3809, allocations: 352.3 kB / 1.087 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.565e-06/0.381, allocations: 0 / 1.087 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001556/0.3825, allocations: 0.8211 MB / 1.088 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.3826, allocations: 162.9 kB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.3832, allocations: 0.5615 MB / 1.088 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.3833, allocations: 45.7 kB / 1.088 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3835, allocations: 396.2 kB / 1.089 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3837, allocations: 248.3 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3839, allocations: 126.7 kB / 1.089 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.384, allocations: 382.8 kB / 1.089 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.3846, allocations: 248.7 kB / 1.09 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.3852, allocations: 365.1 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.3863, allocations: 0.5409 MB / 1.091 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3863, allocations: 4 kB / 1.091 GB, free: 3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001354/0.3877, allocations: 0.6997 MB / 1.091 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3877, allocations: 8.094 kB / 1.091 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3877, allocations: 4 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3878, allocations: 4 kB / 1.091 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.3884, allocations: 155.7 kB / 1.091 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3884, allocations: 7.938 kB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3888, allocations: 95.33 kB / 1.091 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.3888, allocations: 27.98 kB / 1.091 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005738/0.3894, allocations: 351.8 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004125/0.3898, allocations: 313.2 kB / 1.092 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006612/0.3905, allocations: 469.9 kB / 1.093 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.3905, allocations: 160 / 1.093 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0009324/0.3914, allocations: 0.6138 MB / 1.093 GB, free: 224 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3915, allocations: 9.562 kB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3915, allocations: 0 / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3915, allocations: 16.08 kB / 1.093 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.392, allocations: 131.8 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.392, allocations: 7.938 kB / 1.093 GB, free: 60 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.3924, allocations: 83.34 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3924, allocations: 20 kB / 1.093 GB, free: 15.96 MB / 0.8575 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.000201/0.3926, allocations: 220.7 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.3927, allocations: 71.16 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.394, allocations: 0.6417 MB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.394, allocations: 8 kB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.394, allocations: 3.938 kB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.394, allocations: 7.984 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.3967, allocations: 1.692 MB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.3967, allocations: 4 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.3973, allocations: 136 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.3974, allocations: 4 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.3974, allocations: 27.92 kB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.3974, allocations: 4 kB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.3974, allocations: 7.938 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.3994, allocations: 1.058 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3996, allocations: 164 kB / 1.097 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.3997, allocations: 16 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4, allocations: 48.05 kB / 1.097 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.4001, allocations: 48.38 kB / 1.097 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.4002, allocations: 24 kB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000475/0.4007, allocations: 398.8 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4007, allocations: 0 / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007923/0.4015, allocations: 302.5 kB / 1.098 GB, free: 10.95 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.0002233/0.4017, allocations: 131.1 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.4038, allocations: 0.9104 MB / 1.099 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4038, allocations: 4.188 kB / 1.099 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.4043, allocations: 315.7 kB / 1.099 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.4052, allocations: 151.2 kB / 1.1 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4076, allocations: 1.539 MB / 1.101 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.4081, allocations: 0.9778 MB / 1.102 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.4085, allocations: 89.17 kB / 1.102 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.4086, allocations: 63.42 kB / 1.102 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.4087, allocations: 0 / 1.102 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.01915/0.4278, allocations: 7.489 MB / 1.11 GB, free: 15.28 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)