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.009035/0.009035, allocations: 107.3 kB / 15.06 MB, free: 5.602 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.001118/0.001118, allocations: 184.9 kB / 15.95 MB, free: 5.539 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.056/2.056, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.139/2.139, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 20 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.5991, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001367/0.6005, allocations: 1.123 MB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003689/0.6009, allocations: 174 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.6009, allocations: 1.469 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.601, allocations: 0.6562 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.67e-05/0.601, allocations: 13.72 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.6012, allocations: 15.03 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.6013, allocations: 23.45 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.6013, allocations: 9.266 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.6014, allocations: 17.81 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.6015, allocations: 21.45 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.6015, allocations: 2.531 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.6015, allocations: 1.25 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.6015, allocations: 2.531 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.6016, allocations: 40.48 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.299e-05/0.6016, allocations: 22.81 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.44e-06/0.6017, allocations: 0 / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.169e-06/0.6017, allocations: 0 / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6017, allocations: 0 / 0.6848 GB, free: 15.75 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.0004267/0.6021, allocations: 369.2 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6022, allocations: 8.75 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.6022, allocations: 2.625 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.6023, allocations: 174.2 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6023, allocations: 5.312 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.6023, allocations: 1.5 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.6026, allocations: 82.14 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.1e-06/0.6026, allocations: 0 / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6027, allocations: 1.828 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-06/0.6027, allocations: 3.938 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.603, allocations: 90.3 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.6034, allocations: 263 kB / 0.6857 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.6036, allocations: 69.34 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.6037, allocations: 0.6562 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.6037, allocations: 31.97 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.962e-06/0.6037, allocations: 0 / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006541/0.6044, allocations: 169 kB / 0.686 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.6044, allocations: 53.31 kB / 0.6861 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.6045, allocations: 115 kB / 0.6862 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.6045, allocations: 25.7 kB / 0.6862 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.6046, allocations: 94.88 kB / 0.6863 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.6046, allocations: 15.22 kB / 0.6863 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-06/0.6046, allocations: 0 / 0.6863 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.6047, allocations: 313.8 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.6049, allocations: 39.59 kB / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.6051, allocations: 49.44 kB / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.6052, allocations: 44.73 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-06/0.6053, allocations: 0 / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004371/0.6057, allocations: 121.7 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6057, allocations: 6.375 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.6058, allocations: 320 / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6058, allocations: 0.8125 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.6059, allocations: 24.33 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.502e-06/0.606, allocations: 1.312 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.6061, allocations: 28.08 kB / 0.6869 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.6061, allocations: 4.688 kB / 0.6869 GB, free: 13.99 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 5.984e-05/0.6062, allocations: 109.4 kB / 0.687 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.6062, allocations: 2.688 kB / 0.687 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.6063, allocations: 9.125 kB / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-06/0.6063, allocations: 1.156 kB / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-06/0.6063, allocations: 0 / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.531e-06/0.6063, allocations: 5.688 kB / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.6065, allocations: 170.1 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-06/0.6065, allocations: 0.8906 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.6066, allocations: 24.73 kB / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.441e-06/0.6066, allocations: 0 / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-06/0.6067, allocations: 0.8438 kB / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-06/0.6067, allocations: 1.094 kB / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-06/0.6067, allocations: 0 / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.6071, allocations: 226.2 kB / 0.6874 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.6072, allocations: 79.06 kB / 0.6875 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.6072, allocations: 5.219 kB / 0.6875 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.6074, allocations: 19.06 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.6074, allocations: 5.219 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-06/0.6074, allocations: 1.922 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.6075, allocations: 91.52 kB / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.42e-07/0.6075, allocations: 0 / 0.6876 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000295/0.6078, allocations: 6.312 kB / 0.6876 GB, free: 13.31 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.0001172/0.6079, allocations: 100.8 kB / 0.6877 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.6084, allocations: 95.02 kB / 0.6878 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-06/0.6084, allocations: 0 / 0.6878 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.6086, allocations: 57.66 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.6089, allocations: 10.69 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.6092, allocations: 127.8 kB / 0.688 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.6093, allocations: 0.6861 MB / 0.6887 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.6094, allocations: 3.375 kB / 0.6887 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.6094, allocations: 12.78 kB / 0.6887 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.28e-06/0.6094, allocations: 0 / 0.6887 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.003056/0.6125, allocations: 0.5549 MB / 0.6892 GB, free: 12.3 MB / 0.5261 GB