Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.735/4.735, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002725/0.002725, allocations: 361.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.243/4.243, allocations: 410.7 MB / 1.113 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 183 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0005, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7171, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.9684, allocations: 146.4 MB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.9687, allocations: 86.78 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.07765/1.046, allocations: 19.9 MB / 1.624 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/1.046, allocations: 0 / 1.624 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001017/1.047, allocations: 29.03 kB / 1.624 GB, free: 118.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003111/1.05, allocations: 1.24 MB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.05, allocations: 15.62 kB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/1.05, allocations: 124.6 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/1.052, allocations: 0.7346 MB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.052, allocations: 80.83 kB / 1.626 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.052, allocations: 71.91 kB / 1.626 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.054, allocations: 0.785 MB / 1.627 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/1.054, allocations: 7.891 kB / 1.627 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.054, allocations: 28.88 kB / 1.627 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.054, allocations: 19.94 kB / 1.627 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.056, allocations: 0.5683 MB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/1.061, allocations: 2.357 MB / 1.63 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/1.063, allocations: 0.6838 MB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008579/1.064, allocations: 264.9 kB / 1.631 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/1.064, allocations: 4.734 kB / 1.631 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.065, allocations: 362.1 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/1.065, allocations: 0 / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.002835/1.068, allocations: 0.8251 MB / 1.632 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.068, allocations: 146 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.069, allocations: 0.7526 MB / 1.633 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/1.069, allocations: 41.7 kB / 1.633 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/1.07, allocations: 441.5 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/1.07, allocations: 201 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/1.07, allocations: 12.53 kB / 1.633 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/1.07, allocations: 331 kB / 1.634 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/1.071, allocations: 224.1 kB / 1.634 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/1.072, allocations: 338.3 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/1.073, allocations: 255.3 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.073, allocations: 0.7188 kB / 1.634 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002012/1.075, allocations: 0.696 MB / 1.635 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/1.075, allocations: 167.1 kB / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.075, allocations: 5.219 kB / 1.635 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.075, allocations: 7.984 kB / 1.635 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.076, allocations: 161.2 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.076, allocations: 9 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/1.077, allocations: 85.83 kB / 1.635 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/1.077, allocations: 20 kB / 1.636 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/1.077, allocations: 4 kB / 1.636 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001686/1.079, allocations: 0.5624 MB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.079, allocations: 0 / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.079, allocations: 4 kB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.081, allocations: 153 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.081, allocations: 15.94 kB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/1.081, allocations: 81.23 kB / 1.636 GB, free: 105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.082, allocations: 20 kB / 1.636 GB, free: 104.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0004922/1.082, allocations: 294.2 kB / 1.637 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/1.082, allocations: 91.94 kB / 1.637 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/1.082, allocations: 101.3 kB / 1.637 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.082, allocations: 8.625 kB / 1.637 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.082, allocations: 7.938 kB / 1.637 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.082, allocations: 1.375 kB / 1.637 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/1.086, allocations: 1.534 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.086, allocations: 0 / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.087, allocations: 114 kB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.087, allocations: 0 / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/1.087, allocations: 19.95 kB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.087, allocations: 5.438 kB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.087, allocations: 0 / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/1.09, allocations: 1.042 MB / 1.639 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/1.09, allocations: 231.7 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/1.09, allocations: 12 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/1.091, allocations: 58.31 kB / 1.64 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.091, allocations: 32.52 kB / 1.64 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/1.092, allocations: 25.36 kB / 1.64 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008361/1.092, allocations: 0.5187 MB / 1.64 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.092, allocations: 0 / 1.64 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001009/1.093, allocations: 289.4 kB / 1.641 GB, free: 100.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000184/1.094, allocations: 122.3 kB / 1.641 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002649/1.096, allocations: 0.8667 MB / 1.642 GB, free: 99.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.096, allocations: 0 / 1.642 GB, free: 99.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/1.097, allocations: 296.2 kB / 1.642 GB, free: 99.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.099, allocations: 234.9 kB / 1.642 GB, free: 99.01 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/1.103, allocations: 1.836 MB / 1.644 GB, free: 97.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/1.103, allocations: 1.013 MB / 1.645 GB, free: 96.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008599/1.104, allocations: 114.4 kB / 1.645 GB, free: 95.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.104, allocations: 59.42 kB / 1.645 GB, free: 95.92 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.104, allocations: 4 kB / 1.645 GB, free: 95.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.02439/1.129, allocations: 9.123 MB / 1.654 GB, free: 86.97 MB / 0.8542 GB