Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01095/0.01095, allocations: 108.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001169/0.001168, allocations: 183.1 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.011/2.011, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.254/2.254, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007049/0.000705, allocations: 19.94 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.654, allocations: 98.71 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.8736, allocations: 124.3 MB / 0.8048 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.874, allocations: 71.95 kB / 0.8049 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.006117/0.8801, allocations: 1.423 MB / 0.8063 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8802, allocations: 0 / 0.8063 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.8802, allocations: 4 kB / 0.8063 GB, free: 0.5039 MB / 0.6198 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.0006436/0.8808, allocations: 383.2 kB / 0.8066 GB, free: 84 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8809, allocations: 8.031 kB / 0.8067 GB, free: 76 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.881, allocations: 34.56 kB / 0.8067 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.881, allocations: 8 kB / 0.8067 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.8812, allocations: 174.9 kB / 0.8069 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8812, allocations: 8 kB / 0.8069 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.8812, allocations: 0 / 0.8069 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.8816, allocations: 81.59 kB / 0.8069 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8816, allocations: 4 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8817, allocations: 0 / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8817, allocations: 0 / 0.8069 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.8822, allocations: 87.92 kB / 0.807 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.883, allocations: 304.9 kB / 0.8073 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.8833, allocations: 62.53 kB / 0.8074 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.8834, allocations: 3.938 kB / 0.8074 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.8834, allocations: 42.56 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.8834, allocations: 0 / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0009856/0.8844, allocations: 157.7 kB / 0.8076 GB, free: 15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.8845, allocations: 55.36 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.8846, allocations: 97 kB / 0.8077 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8847, allocations: 29.7 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.8847, allocations: 103.9 kB / 0.8078 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.8848, allocations: 3.906 kB / 0.8079 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.8848, allocations: 0 / 0.8079 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.8849, allocations: 314.8 kB / 0.8082 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.8852, allocations: 47.89 kB / 0.8082 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.8855, allocations: 39.97 kB / 0.8082 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.8858, allocations: 52.17 kB / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8858, allocations: 0 / 0.8083 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006368/0.8865, allocations: 125.6 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8865, allocations: 4 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8865, allocations: 0 / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8865, allocations: 0 / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.8868, allocations: 23.98 kB / 0.8084 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.8868, allocations: 0 / 0.8084 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.887, allocations: 27.83 kB / 0.8085 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.887, allocations: 4 kB / 0.8085 GB, free: 14.04 MB / 0.6355 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 0.0001332/0.8871, allocations: 109.8 kB / 0.8086 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.8872, allocations: 4 kB / 0.8086 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.8872, allocations: 7.844 kB / 0.8086 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.8873, allocations: 4 kB / 0.8086 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8873, allocations: 0 / 0.8086 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8873, allocations: 0 / 0.8086 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.8875, allocations: 173.6 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8875, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.8877, allocations: 19.98 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8877, allocations: 0 / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.8878, allocations: 0 / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8878, allocations: 8 kB / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8878, allocations: 0 / 0.8088 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.8885, allocations: 227.3 kB / 0.809 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.8885, allocations: 77.11 kB / 0.8091 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.8886, allocations: 0 / 0.8091 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.8888, allocations: 15.98 kB / 0.8091 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.8888, allocations: 11.98 kB / 0.8091 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.8889, allocations: 4 kB / 0.8091 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.8889, allocations: 89.69 kB / 0.8092 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8889, allocations: 7.938 kB / 0.8092 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002795/0.8892, allocations: 8 kB / 0.8092 GB, free: 13.19 MB / 0.6355 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.001065/0.8903, allocations: 0.7515 MB / 0.8099 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.891, allocations: 87.92 kB / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.891, allocations: 0 / 0.81 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.8913, allocations: 51.89 kB / 0.8101 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.8916, allocations: 10.52 kB / 0.8101 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.8922, allocations: 170.2 kB / 0.8102 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.8925, allocations: 0.6809 MB / 0.8109 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.745e-05/0.8925, allocations: 3.984 kB / 0.8109 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.8926, allocations: 15.44 kB / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.8926, allocations: 4 kB / 0.8109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.9158, allocations: 1.31 MB / 0.8122 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003345/0.9162, allocations: 189.9 kB / 0.8124 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.395, allocations: 4 kB / 0.8124 GB, free: 9.891 MB / 0.6355 GB