Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.965/4.965, allocations: 0.5623 GB / 0.5775 GB, free: 3.402 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.002478/0.002478, allocations: 356.2 kB / 0.6446 GB, free: 185.7 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.187/4.187, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001854/0.001853, allocations: 178.9 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006544, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7198/0.7205, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.9168, allocations: 137.4 MB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.9171, allocations: 75.95 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002961/0.9201, allocations: 0.8068 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9201, allocations: 0 / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9202, allocations: 0 / 1.596 GB, free: 146 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005041/0.9207, allocations: 365.5 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.9207, allocations: 16.62 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.9208, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.9209, allocations: 186.8 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9209, allocations: 2.844 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.9209, allocations: 4.688 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.9213, allocations: 75.59 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.9213, allocations: 0.6562 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.9213, allocations: 2.688 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9214, allocations: 4 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.9219, allocations: 82.17 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.9225, allocations: 309 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.9228, allocations: 69.94 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.9231, allocations: 45.52 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.9232, allocations: 1.156 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.9232, allocations: 34.06 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.9232, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0008762/0.9241, allocations: 165.6 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.9241, allocations: 51.41 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.9242, allocations: 113.8 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.9242, allocations: 31.17 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.9243, allocations: 80.14 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.9243, allocations: 15.89 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.9243, allocations: 0.5938 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.9244, allocations: 311.6 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.9247, allocations: 41.84 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.9249, allocations: 48.17 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.9252, allocations: 38.22 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9252, allocations: 4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005618/0.9258, allocations: 118.3 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.9258, allocations: 11.94 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9258, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.9259, allocations: 6.172 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.9261, allocations: 23.92 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9261, allocations: 320 / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.9263, allocations: 25.48 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9263, allocations: 3.953 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.57e-05/0.9264, allocations: 111.8 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.9264, allocations: 4 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.9265, allocations: 11.89 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9265, allocations: 0.9375 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9265, allocations: 8 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9265, allocations: 1.453 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.9267, allocations: 171.7 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9267, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.9269, allocations: 15.98 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.9269, allocations: 8.641 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.927, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.927, allocations: 5.391 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.927, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.9276, allocations: 223.7 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.9276, allocations: 77.61 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.9276, allocations: 0.5 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.9278, allocations: 21.25 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.9279, allocations: 4.562 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.9279, allocations: 0.5625 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.928, allocations: 94.3 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.928, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002644/0.9282, allocations: 4 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000125/0.9284, allocations: 99.25 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.929, allocations: 93.78 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.929, allocations: 2.797 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.9293, allocations: 53.27 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.9296, allocations: 8.641 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.93, allocations: 134.6 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.9301, allocations: 0.686 MB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.9302, allocations: 4 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.9302, allocations: 8.781 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.01e-07/0.9303, allocations: 0 / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003006/0.9333, allocations: 0.5193 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB