Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009257/0.009257, allocations: 111.2 kB / 15.05 MB, free: 6.031 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.001189/0.001188, allocations: 188.5 kB / 15.95 MB, free: 5.965 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.027/2.027, allocations: 194.5 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.409/2.409, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004631, allocations: 8 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.536, allocations: 98.7 MB / 0.6833 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/6.271, allocations: 2.194 GB / 2.877 GB, free: 283.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6.271, allocations: 75.97 kB / 2.877 GB, free: 283.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08649/6.358, allocations: 29.61 MB / 2.906 GB, free: 253.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.371e-06/6.358, allocations: 0 / 2.906 GB, free: 253.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.007e-06/6.358, allocations: 4 kB / 2.906 GB, free: 253.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003546/6.358, allocations: 383.1 kB / 2.906 GB, free: 253.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/6.358, allocations: 8.031 kB / 2.906 GB, free: 253.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/6.359, allocations: 39.88 kB / 2.906 GB, free: 253.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/6.359, allocations: 167 kB / 2.906 GB, free: 252.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/6.359, allocations: 8 kB / 2.906 GB, free: 252.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/6.359, allocations: 8 kB / 2.906 GB, free: 252.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/6.359, allocations: 73.66 kB / 2.907 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.494e-06/6.359, allocations: 0 / 2.907 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/6.359, allocations: 0 / 2.907 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-06/6.359, allocations: 3.953 kB / 2.907 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/6.359, allocations: 43.95 kB / 2.907 GB, free: 252.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/6.36, allocations: 193.5 kB / 2.907 GB, free: 252.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/6.36, allocations: 90.67 kB / 2.907 GB, free: 252.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/6.36, allocations: 174.2 kB / 2.907 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/6.36, allocations: 38.56 kB / 2.907 GB, free: 252.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 2.17e-06/6.36, allocations: 0 / 2.907 GB, free: 252.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001417/6.361, allocations: 0.5395 MB / 2.908 GB, free: 251.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/6.361, allocations: 59.36 kB / 2.908 GB, free: 251.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/6.362, allocations: 93 kB / 2.908 GB, free: 251.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/6.362, allocations: 29.7 kB / 2.908 GB, free: 251.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/6.362, allocations: 84.52 kB / 2.908 GB, free: 251.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/6.362, allocations: 67 kB / 2.908 GB, free: 251.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-06/6.362, allocations: 4 kB / 2.908 GB, free: 251.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/6.362, allocations: 318.8 kB / 2.908 GB, free: 250.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/6.362, allocations: 39.97 kB / 2.908 GB, free: 250.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/6.362, allocations: 71.39 kB / 2.908 GB, free: 250.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.756e-05/6.362, allocations: 44 kB / 2.908 GB, free: 250.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-06/6.362, allocations: 0 / 2.908 GB, free: 250.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002796/6.362, allocations: 169.3 kB / 2.909 GB, free: 250.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/6.362, allocations: 5.406 kB / 2.909 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.193e-06/6.362, allocations: 0 / 2.909 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/6.362, allocations: 4 kB / 2.909 GB, free: 250.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/6.363, allocations: 35.98 kB / 2.909 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.488e-06/6.363, allocations: 3.938 kB / 2.909 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/6.363, allocations: 15.95 kB / 2.909 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/6.363, allocations: 4 kB / 2.909 GB, free: 250.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.248e-05/6.363, allocations: 121.8 kB / 2.909 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/6.363, allocations: 15.89 kB / 2.909 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/6.363, allocations: 16.44 kB / 2.909 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-06/6.363, allocations: 0 / 2.909 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-06/6.363, allocations: 0 / 2.909 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-06/6.363, allocations: 0 / 2.909 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/6.363, allocations: 197.6 kB / 2.909 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-06/6.363, allocations: 7.938 kB / 2.909 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/6.363, allocations: 35.98 kB / 2.909 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.239e-06/6.363, allocations: 0 / 2.909 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/6.363, allocations: 11.98 kB / 2.909 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.654e-06/6.363, allocations: 0 / 2.909 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-06/6.363, allocations: 3.938 kB / 2.909 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/6.364, allocations: 210.7 kB / 2.909 GB, free: 249.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/6.364, allocations: 93.06 kB / 2.909 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/6.364, allocations: 8.25 kB / 2.909 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/6.364, allocations: 7.984 kB / 2.909 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/6.364, allocations: 15.98 kB / 2.909 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/6.364, allocations: 8 kB / 2.909 GB, free: 249.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.391e-05/6.364, allocations: 75.28 kB / 2.909 GB, free: 249.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.62e-07/6.364, allocations: 0 / 2.909 GB, free: 249.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004073/6.365, allocations: 67.92 kB / 2.909 GB, free: 249.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006377/6.365, allocations: 0.5673 MB / 2.91 GB, free: 249 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002261/6.366, allocations: 99.83 kB / 2.91 GB, free: 248.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.942e-06/6.366, allocations: 4 kB / 2.91 GB, free: 248.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/6.366, allocations: 50.33 kB / 2.91 GB, free: 248.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/6.366, allocations: 19.94 kB / 2.91 GB, free: 248.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/6.367, allocations: 0.6085 MB / 2.911 GB, free: 248.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/6.367, allocations: 0.7011 MB / 2.911 GB, free: 247.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001987/6.367, allocations: 24.64 kB / 2.911 GB, free: 247.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/6.367, allocations: 15.44 kB / 2.911 GB, free: 247.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.637e-06/6.367, allocations: 0 / 2.911 GB, free: 247.4 MB / 0.823 GB Notification: Performance of Templates: time 0.01485/6.382, allocations: 8.111 MB / 2.919 GB, free: 239.3 MB / 0.823 GB