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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01066/0.01066, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.00111/0.00111, allocations: 176 kB / 16.06 MB, free: 5.832 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 3.787/3.787, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.365/4.365, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 19.98 kB / 1.008 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5958/0.5963, allocations: 98.72 MB / 1.104 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001224/0.5976, allocations: 1.119 MB / 1.105 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000346/0.598, allocations: 174.8 kB / 1.105 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.598, allocations: 0.5625 kB / 1.105 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.5981, allocations: 3.594 kB / 1.105 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.5981, allocations: 3.938 kB / 1.105 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.5983, allocations: 19.97 kB / 1.105 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.5983, allocations: 39.86 kB / 1.105 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.5984, allocations: 7.984 kB / 1.105 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.5985, allocations: 15.92 kB / 1.105 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.5985, allocations: 19.92 kB / 1.105 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.5986, allocations: 1.031 kB / 1.105 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.5986, allocations: 7.938 kB / 1.105 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.5986, allocations: 0 / 1.105 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.5986, allocations: 35.05 kB / 1.105 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.258e-05/0.5987, allocations: 27.92 kB / 1.105 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.243e-06/0.5987, allocations: 4 kB / 1.105 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.889e-06/0.5987, allocations: 3.984 kB / 1.105 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.939e-06/0.5987, allocations: 1.406 kB / 1.106 GB, free: 9.223 MB / 0.5105 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.0004448/0.5992, allocations: 362.2 kB / 1.106 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.5992, allocations: 10.22 kB / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.5993, allocations: 4 kB / 1.106 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.676e-05/0.5994, allocations: 170.9 kB / 1.106 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5994, allocations: 4 kB / 1.106 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.5994, allocations: 0 / 1.106 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.5997, allocations: 92.78 kB / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8e-06/0.5997, allocations: 0 / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5997, allocations: 0 / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-06/0.5997, allocations: 0 / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.6001, allocations: 92.48 kB / 1.106 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.6004, allocations: 263.4 kB / 1.106 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.6006, allocations: 63.84 kB / 1.107 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.6009, allocations: 52.09 kB / 1.107 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.6009, allocations: 0 / 1.107 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.6009, allocations: 42.56 kB / 1.107 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.622e-06/0.6009, allocations: 3.938 kB / 1.107 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006141/0.6016, allocations: 153.6 kB / 1.107 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.6016, allocations: 59.34 kB / 1.107 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.6017, allocations: 105.9 kB / 1.107 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-06/0.6017, allocations: 33.64 kB / 1.107 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.6017, allocations: 92.03 kB / 1.107 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.6018, allocations: 11.84 kB / 1.107 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-06/0.6018, allocations: 0 / 1.107 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.6018, allocations: 314.8 kB / 1.107 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.602, allocations: 47.95 kB / 1.107 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6022, allocations: 39.97 kB / 1.107 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6024, allocations: 43.95 kB / 1.107 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-06/0.6024, allocations: 3.938 kB / 1.107 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003755/0.6028, allocations: 121.6 kB / 1.108 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6028, allocations: 4 kB / 1.108 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-06/0.6028, allocations: 4 kB / 1.108 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6028, allocations: 0 / 1.108 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.603, allocations: 23.98 kB / 1.108 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.302e-06/0.603, allocations: 0 / 1.108 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.6031, allocations: 27.83 kB / 1.108 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.503e-06/0.6031, allocations: 0 / 1.108 GB, free: 6.824 MB / 0.5105 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 5.658e-05/0.6032, allocations: 109.8 kB / 1.108 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.6032, allocations: 4 kB / 1.108 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.6033, allocations: 7.906 kB / 1.108 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-06/0.6033, allocations: 0 / 1.108 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-06/0.6033, allocations: 0 / 1.108 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.555e-06/0.6033, allocations: 4 kB / 1.108 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.6035, allocations: 169.6 kB / 1.108 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-06/0.6035, allocations: 4 kB / 1.108 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.6036, allocations: 19.92 kB / 1.108 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.005e-06/0.6036, allocations: 4 kB / 1.108 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-06/0.6037, allocations: 0 / 1.108 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.6037, allocations: 4.312 kB / 1.108 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-06/0.6037, allocations: 0 / 1.108 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.6043, allocations: 227.6 kB / 1.108 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.6044, allocations: 77.11 kB / 1.108 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.6044, allocations: 0 / 1.108 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.6047, allocations: 15.98 kB / 1.108 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.6048, allocations: 15.98 kB / 1.108 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6048, allocations: 4 kB / 1.108 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.6049, allocations: 91.25 kB / 1.108 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.137e-06/0.6049, allocations: 0 / 1.108 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005865/0.6055, allocations: 8 kB / 1.108 GB, free: 5.973 MB / 0.5105 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.0001626/0.6057, allocations: 111.2 kB / 1.108 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006629/0.6064, allocations: 87.92 kB / 1.109 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.222e-06/0.6064, allocations: 0 / 1.109 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.6067, allocations: 51.91 kB / 1.109 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.6074, allocations: 11.94 kB / 1.109 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.6078, allocations: 132.6 kB / 1.109 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.608, allocations: 0.6809 MB / 1.109 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.6081, allocations: 7.984 kB / 1.109 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.6081, allocations: 7.438 kB / 1.109 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/0.6082, allocations: 3.938 kB / 1.109 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of Templates: time 0.003153/0.6113, allocations: 0.5571 MB / 1.11 GB, free: 4.277 MB / 0.5105 GB