Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008628/0.008628, allocations: 170 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 9.375 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3788, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004588/0.3835, allocations: 3.866 MB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3856, allocations: 1.037 MB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.3861, allocations: 23.94 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.3865, allocations: 138.7 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.3869, allocations: 83.38 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.3875, allocations: 319.6 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009886/0.3885, allocations: 1.034 MB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008835/0.3894, allocations: 0.6237 MB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.3897, allocations: 254.3 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.39, allocations: 321.7 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.3901, allocations: 32 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.3902, allocations: 24 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3903, allocations: 143.1 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.3906, allocations: 394.8 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3917, allocations: 1.272 MB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3917, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3917, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.3917, allocations: 0 / 1.083 GB, free: 13.89 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002114/0.3938, allocations: 1.189 MB / 1.085 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3939, allocations: 12.03 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3941, allocations: 127.4 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.3948, allocations: 0.5674 MB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.3949, allocations: 78.31 kB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.395, allocations: 100.3 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3966, allocations: 0.918 MB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3967, allocations: 192 / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.3968, allocations: 43.94 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.3968, allocations: 24 kB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.3982, allocations: 0.687 MB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.4024, allocations: 2.872 MB / 1.09 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.4037, allocations: 0.7222 MB / 1.091 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.4044, allocations: 430.7 kB / 1.091 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.4044, allocations: 8.656 kB / 1.091 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/0.4052, allocations: 380.2 kB / 1.091 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.123e-06/0.4052, allocations: 0 / 1.091 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001848/0.407, allocations: 0.8797 MB / 1.092 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4071, allocations: 166.9 kB / 1.092 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.4079, allocations: 0.5901 MB / 1.093 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.4079, allocations: 41.7 kB / 1.093 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4082, allocations: 448.1 kB / 1.093 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4084, allocations: 256.3 kB / 1.094 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-05/0.4085, allocations: 73.61 kB / 1.094 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4087, allocations: 394.8 kB / 1.094 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.4092, allocations: 253.9 kB / 1.094 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.4098, allocations: 398 kB / 1.095 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4109, allocations: 0.5964 MB / 1.095 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4109, allocations: 0 / 1.095 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00135/0.4123, allocations: 0.7738 MB / 1.096 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/0.4124, allocations: 124.4 kB / 1.096 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4124, allocations: 0 / 1.096 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4124, allocations: 4 kB / 1.096 GB, free: 436 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.4131, allocations: 167.8 kB / 1.096 GB, free: 268 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.4131, allocations: 7.938 kB / 1.096 GB, free: 260 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.4135, allocations: 111.3 kB / 1.097 GB, free: 148 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.4136, allocations: 27.98 kB / 1.097 GB, free: 120 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.4136, allocations: 5.406 kB / 1.097 GB, free: 116 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008041/0.4144, allocations: 0.5467 MB / 1.097 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4144, allocations: 4 kB / 1.097 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4144, allocations: 11.88 kB / 1.097 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.4149, allocations: 139.8 kB / 1.097 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4149, allocations: 4 kB / 1.097 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.4153, allocations: 91.38 kB / 1.097 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.4153, allocations: 20 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003512/0.4157, allocations: 297 kB / 1.098 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.4158, allocations: 79.05 kB / 1.098 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.416, allocations: 87.67 kB / 1.098 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.416, allocations: 8 kB / 1.098 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.416, allocations: 3.938 kB / 1.098 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.416, allocations: 3.984 kB / 1.098 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.4184, allocations: 1.652 MB / 1.099 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4184, allocations: 0 / 1.099 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.419, allocations: 143.8 kB / 1.1 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.419, allocations: 4 kB / 1.1 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.4191, allocations: 19.98 kB / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4191, allocations: 4 kB / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4191, allocations: 0 / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4209, allocations: 1.1 MB / 1.101 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4211, allocations: 156 kB / 1.101 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.4211, allocations: 15.98 kB / 1.101 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.4215, allocations: 55.97 kB / 1.101 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.4216, allocations: 40.59 kB / 1.101 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.4216, allocations: 24.17 kB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004789/0.4221, allocations: 419.1 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4221, allocations: 3.938 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007105/0.4228, allocations: 322.3 kB / 1.102 GB, free: 10.79 MB / 0.8575 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 (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.0001692/0.423, allocations: 131.2 kB / 1.102 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.4247, allocations: 0.9386 MB / 1.103 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4247, allocations: 4.438 kB / 1.103 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.4252, allocations: 331.6 kB / 1.103 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/0.4261, allocations: 167.1 kB / 1.103 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.429, allocations: 2.039 MB / 1.105 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.4297, allocations: 1.002 MB / 1.106 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003727/0.4301, allocations: 93.59 kB / 1.106 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.4302, allocations: 55.42 kB / 1.106 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.4303, allocations: 3.938 kB / 1.106 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.01442/0.4447, allocations: 7.36 MB / 1.113 GB, free: 14.7 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)