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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008983/0.008984, allocations: 111.7 kB / 15.06 MB, free: 5.965 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.001108/0.001108, allocations: 180.7 kB / 15.94 MB, free: 5.93 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 1.914/1.914, allocations: 194.6 MB / 211.3 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.389/2.389, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006655/0.0006657, allocations: 16 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7258, allocations: 98.7 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.9098, allocations: 124.3 MB / 0.8047 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.91, allocations: 71.95 kB / 0.8048 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002842/0.9129, allocations: 0.8185 MB / 0.8056 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.551e-06/0.913, allocations: 4 kB / 0.8056 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.889e-06/0.913, allocations: 4 kB / 0.8056 GB, free: 1.121 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.0005334/0.9135, allocations: 367.1 kB / 0.8059 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9136, allocations: 8.031 kB / 0.806 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.9136, allocations: 0 / 0.806 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.9138, allocations: 182.9 kB / 0.8061 GB, free: 500 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.9138, allocations: 7.984 kB / 0.8061 GB, free: 492 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.9138, allocations: 4 kB / 0.8061 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.9141, allocations: 73.66 kB / 0.8062 GB, free: 408 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-06/0.9142, allocations: 0 / 0.8062 GB, free: 408 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.9142, allocations: 4 kB / 0.8062 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.9142, allocations: 8 kB / 0.8062 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.9146, allocations: 83.92 kB / 0.8063 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.9152, allocations: 308.7 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.9155, allocations: 70.53 kB / 0.8067 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.9155, allocations: 0 / 0.8067 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.9156, allocations: 30.56 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.058e-06/0.9156, allocations: 7.938 kB / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007069/0.9163, allocations: 165.6 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.9164, allocations: 51.41 kB / 0.8069 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.9165, allocations: 104.9 kB / 0.807 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.9166, allocations: 25.7 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.9167, allocations: 96.05 kB / 0.8071 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.9167, allocations: 7.844 kB / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-06/0.9167, allocations: 0 / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9169, allocations: 318.8 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.9171, allocations: 43.97 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.9173, allocations: 39.97 kB / 0.8075 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.9175, allocations: 47.95 kB / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.9175, allocations: 0 / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004294/0.918, allocations: 117.6 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.918, allocations: 4 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.396e-06/0.918, allocations: 0 / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.918, allocations: 0 / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.9182, allocations: 27.91 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.393e-06/0.9182, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.9184, allocations: 19.98 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.9184, allocations: 3.953 kB / 0.8077 GB, free: 14.73 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.0001254/0.9185, allocations: 117.8 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.9186, allocations: 3.906 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.919, allocations: 129.5 kB / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-06/0.919, allocations: 0 / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-06/0.9191, allocations: 4 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-06/0.9191, allocations: 0 / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.9193, allocations: 174 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-06/0.9194, allocations: 0 / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.9195, allocations: 23.92 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.583e-06/0.9195, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-06/0.9195, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.9195, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-06/0.9196, allocations: 4 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.92, allocations: 227.3 kB / 0.8084 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.9201, allocations: 81.11 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.9202, allocations: 3.938 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.9204, allocations: 15.98 kB / 0.8085 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.9204, allocations: 7.984 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-06/0.9205, allocations: 0 / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.826e-05/0.9205, allocations: 91.27 kB / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.41e-07/0.9206, allocations: 0 / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003056/0.9209, allocations: 8 kB / 0.8086 GB, free: 13.75 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.0001525/0.921, allocations: 103.2 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.9215, allocations: 91.92 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.59e-06/0.9215, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.9217, allocations: 47.97 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.9219, allocations: 15.88 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.9223, allocations: 120.7 kB / 0.8089 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.9227, allocations: 0.6888 MB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.9227, allocations: 3.984 kB / 0.8096 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.9228, allocations: 7.438 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of SimCode: time 1.532e-06/0.9228, allocations: 3.938 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.002904/0.9257, allocations: 0.5288 MB / 0.8101 GB, free: 12.09 MB / 0.6355 GB