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.01122/0.01122, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001302/0.001302, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.543/2.543, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.408/2.408, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004904, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6762, allocations: 98.72 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001769/0.678, allocations: 1.113 MB / 0.6845 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004421/0.6785, allocations: 175.5 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.6785, allocations: 1.312 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.6786, allocations: 0 / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.6787, allocations: 10.14 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.6788, allocations: 14.92 kB / 0.6847 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.6789, allocations: 23.69 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.679, allocations: 9.984 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.6791, allocations: 21.14 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.6792, allocations: 22.03 kB / 0.6848 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.6792, allocations: 1.25 kB / 0.6848 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.6792, allocations: 2.562 kB / 0.6848 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.6793, allocations: 2.562 kB / 0.6848 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.6793, allocations: 39.78 kB / 0.6848 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.783e-05/0.6794, allocations: 22.52 kB / 0.6849 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.6794, allocations: 0 / 0.6849 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6794, allocations: 0 / 0.6849 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6794, allocations: 0 / 0.6849 GB, free: 15.61 MB / 0.5261 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.0005989/0.68, allocations: 370.1 kB / 0.6852 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.6801, allocations: 8.844 kB / 0.6852 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.6801, allocations: 32.7 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.6802, allocations: 6.484 kB / 0.6853 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.6803, allocations: 173.8 kB / 0.6854 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6803, allocations: 1.469 kB / 0.6854 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.6804, allocations: 1.5 kB / 0.6854 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.6807, allocations: 81.91 kB / 0.6855 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6808, allocations: 1.375 kB / 0.6855 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6808, allocations: 3.938 kB / 0.6855 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6808, allocations: 0 / 0.6855 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.6813, allocations: 87.02 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.6818, allocations: 270.2 kB / 0.6859 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.6821, allocations: 65.75 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.6821, allocations: 0 / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.6822, allocations: 36.64 kB / 0.686 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.6822, allocations: 4 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0009222/0.6831, allocations: 161.2 kB / 0.6861 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.6832, allocations: 57.61 kB / 0.6862 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.6833, allocations: 110.5 kB / 0.6863 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6833, allocations: 25.7 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.6833, allocations: 95.62 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.6834, allocations: 10.69 kB / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.6834, allocations: 0 / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.6834, allocations: 317.6 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.6837, allocations: 44.12 kB / 0.6867 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.684, allocations: 41.42 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.6843, allocations: 47.91 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6843, allocations: 0 / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005947/0.6849, allocations: 122.1 kB / 0.6869 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6849, allocations: 6.266 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.685, allocations: 0 / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.685, allocations: 1 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6852, allocations: 20.91 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6852, allocations: 0.6562 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.6854, allocations: 27.83 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6854, allocations: 1.125 kB / 0.687 GB, free: 13.82 MB / 0.5261 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.832e-05/0.6855, allocations: 108.9 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.6855, allocations: 5.781 kB / 0.6871 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.6856, allocations: 6.531 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.6856, allocations: 0 / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.6856, allocations: 9.922 kB / 0.6871 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6856, allocations: 0 / 0.6871 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.6858, allocations: 174.1 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.6859, allocations: 1.859 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.686, allocations: 19.83 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6861, allocations: 1.469 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.6861, allocations: 0 / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6861, allocations: 1.906 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6861, allocations: 4 kB / 0.6873 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.6867, allocations: 226.1 kB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.6868, allocations: 78.84 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.6868, allocations: 1.5 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.687, allocations: 18.72 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.6871, allocations: 2.875 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.6871, allocations: 4 kB / 0.6876 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.6872, allocations: 88.42 kB / 0.6877 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6872, allocations: 0 / 0.6877 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003058/0.6875, allocations: 6.75 kB / 0.6877 GB, free: 13.14 MB / 0.5261 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.0008717/0.6884, allocations: 0.7601 MB / 0.6885 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.689, allocations: 89.88 kB / 0.6886 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.689, allocations: 4 kB / 0.6886 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.6893, allocations: 53.05 kB / 0.6886 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.6896, allocations: 11.55 kB / 0.6886 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.6902, allocations: 164.9 kB / 0.6888 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.6904, allocations: 0.6835 MB / 0.6894 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.6904, allocations: 2.406 kB / 0.6894 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.6905, allocations: 14.16 kB / 0.6895 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of SimCode: time 7.02e-07/0.6905, allocations: 0 / 0.6895 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.7136, allocations: 1.324 MB / 0.6908 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.7139, allocations: 188 kB / 0.6909 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.062, allocations: 4 kB / 0.6909 GB, free: 11.12 MB / 0.5261 GB