Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadModel(Buildings): time 3.955/3.955, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.529e-05, allocations: 12 kB / 0.5325 GB, free: 1.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4971, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.6865, allocations: 123.5 MB / 0.7496 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.6868, allocations: 75.89 kB / 0.7496 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005169/0.692, allocations: 1.411 MB / 0.751 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.387e-06/0.692, allocations: 0 / 0.751 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.664e-06/0.692, allocations: 0 / 0.751 GB, free: 2.527 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.0004835/0.6925, allocations: 366.4 kB / 0.7514 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6926, allocations: 15.95 kB / 0.7514 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.6926, allocations: 11.91 kB / 0.7514 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6928, allocations: 171 kB / 0.7516 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.6928, allocations: 4 kB / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.6928, allocations: 0 / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.897e-05/0.6929, allocations: 15.94 kB / 0.7516 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.6931, allocations: 49.69 kB / 0.7516 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.729e-06/0.6931, allocations: 0 / 0.7516 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6931, allocations: 7.984 kB / 0.7516 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-06/0.6931, allocations: 0 / 0.7516 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.6937, allocations: 277.4 kB / 0.7519 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.6938, allocations: 34.58 kB / 0.7519 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.6939, allocations: 20.8 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.6939, allocations: 0 / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6939, allocations: 30.56 kB / 0.752 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.932e-06/0.6939, allocations: 0 / 0.752 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.6941, allocations: 49.69 kB / 0.752 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6942, allocations: 55.41 kB / 0.7521 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.6943, allocations: 97 kB / 0.7522 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.6943, allocations: 33.69 kB / 0.7522 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.6944, allocations: 84.14 kB / 0.7523 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.6944, allocations: 11.84 kB / 0.7523 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-06/0.6944, allocations: 0 / 0.7523 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6946, allocations: 318.8 kB / 0.7526 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.6947, allocations: 8 kB / 0.7526 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.6947, allocations: 11.98 kB / 0.7526 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.6947, allocations: 8 kB / 0.7526 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-06/0.6948, allocations: 3.938 kB / 0.7526 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/0.6949, allocations: 57.59 kB / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6949, allocations: 4 kB / 0.7527 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6949, allocations: 0 / 0.7527 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.695, allocations: 0 / 0.7527 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6952, allocations: 19.98 kB / 0.7527 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.921e-06/0.6952, allocations: 4.25 kB / 0.7527 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6953, allocations: 19.98 kB / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.6953, allocations: 0 / 0.7527 GB, free: 0.5742 MB / 0.6198 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 () * 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 8.658e-05/0.6954, allocations: 108.9 kB / 0.7528 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.6955, allocations: 3.984 kB / 0.7528 GB, free: 468 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.6955, allocations: 8.344 kB / 0.7528 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-06/0.6955, allocations: 4 kB / 0.7528 GB, free: 456 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-06/0.6955, allocations: 0 / 0.7528 GB, free: 456 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-06/0.6955, allocations: 4 kB / 0.7529 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.6958, allocations: 150.1 kB / 0.753 GB, free: 264 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-06/0.6958, allocations: 0 / 0.753 GB, free: 264 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.6959, allocations: 15.98 kB / 0.753 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-06/0.6959, allocations: 11.92 kB / 0.753 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.696, allocations: 0 / 0.753 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-06/0.696, allocations: 0 / 0.753 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-06/0.696, allocations: 0 / 0.753 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.6962, allocations: 159.4 kB / 0.7532 GB, free: 60 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.6963, allocations: 77.11 kB / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.6963, allocations: 4 kB / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6964, allocations: 16.22 kB / 0.7533 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6965, allocations: 7.984 kB / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.6965, allocations: 0 / 0.7533 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.6966, allocations: 91.27 kB / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/0.6966, allocations: 0 / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000293/0.6969, allocations: 8 kB / 0.7534 GB, free: 15.84 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 () * 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.0001509/0.6971, allocations: 102.5 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.6972, allocations: 31.91 kB / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.802e-06/0.6972, allocations: 0 / 0.7535 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.6973, allocations: 12 kB / 0.7535 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.6975, allocations: 11.95 kB / 0.7535 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.6978, allocations: 79.72 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.6982, allocations: 0.6846 MB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.6982, allocations: 0 / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.6983, allocations: 11.44 kB / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of SimCode: time 1.457e-06/0.6983, allocations: 0 / 0.7543 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.002928/0.7012, allocations: 0.5196 MB / 0.7548 GB, free: 14.34 MB / 0.6355 GB