Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.773/1.773, allocations: 291.7 MB / 306.8 MB, free: 7.613 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 184.5 kB / 375.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.7 MB / 0.6538 GB, free: 13.6 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 97.78 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004161, allocations: 12.62 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6054, allocations: 118.1 MB / 1.011 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001421/0.6068, allocations: 1.047 MB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1424/0.7492, allocations: 134.5 MB / 1.143 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.7493, allocations: 3.938 kB / 1.143 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.7494, allocations: 10.66 kB / 1.143 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.7495, allocations: 11.92 kB / 1.143 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.7504, allocations: 218.9 kB / 1.143 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.7505, allocations: 77.94 kB / 1.144 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.7505, allocations: 3.625 kB / 1.144 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.7506, allocations: 27.73 kB / 1.144 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.7507, allocations: 42.17 kB / 1.144 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.7507, allocations: 7.031 kB / 1.144 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.7514, allocations: 243.8 kB / 1.144 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.7514, allocations: 18.62 kB / 1.144 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.7515, allocations: 38.8 kB / 1.144 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.7517, allocations: 101.8 kB / 1.144 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7517, allocations: 0 / 1.144 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7517, allocations: 0 / 1.144 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7517, allocations: 0 / 1.144 GB, free: 15.2 MB / 0.7605 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.0004393/0.7522, allocations: 383.9 kB / 1.144 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7522, allocations: 13.12 kB / 1.144 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.7526, allocations: 31.53 kB / 1.144 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7527, allocations: 163.6 kB / 1.145 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.7528, allocations: 15.25 kB / 1.145 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.7528, allocations: 7.094 kB / 1.145 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.753, allocations: 78.28 kB / 1.145 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.753, allocations: 0 / 1.145 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.753, allocations: 8 kB / 1.145 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.753, allocations: 4.281 kB / 1.145 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.7531, allocations: 47.19 kB / 1.145 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.7533, allocations: 183.5 kB / 1.145 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.7535, allocations: 94.19 kB / 1.145 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.7536, allocations: 26.84 kB / 1.145 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.7538, allocations: 189.8 kB / 1.145 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.7538, allocations: 32.44 kB / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.7538, allocations: 2.562 kB / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.7551, allocations: 0.5477 MB / 1.146 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.7551, allocations: 57.8 kB / 1.146 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.7552, allocations: 96.98 kB / 1.146 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7552, allocations: 30.83 kB / 1.146 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.7552, allocations: 80.52 kB / 1.146 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.7553, allocations: 74.89 kB / 1.146 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.7553, allocations: 8.125 kB / 1.146 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.7554, allocations: 317.4 kB / 1.146 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.7555, allocations: 34.7 kB / 1.146 GB, free: 13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.7556, allocations: 70.98 kB / 1.146 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.7557, allocations: 107.3 kB / 1.147 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7557, allocations: 2.938 kB / 1.147 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002147/0.756, allocations: 165.3 kB / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.756, allocations: 6 kB / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.756, allocations: 0 / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.756, allocations: 4.156 kB / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.7562, allocations: 38.06 kB / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7562, allocations: 3.031 kB / 1.147 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.7562, allocations: 7.938 kB / 1.147 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.7563, allocations: 6.094 kB / 1.147 GB, free: 12.8 MB / 0.7605 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.792e-05/0.7564, allocations: 123.8 kB / 1.147 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.7564, allocations: 14.42 kB / 1.147 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.7564, allocations: 19.47 kB / 1.147 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7564, allocations: 0 / 1.147 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7564, allocations: 0 / 1.147 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7565, allocations: 6.906 kB / 1.147 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.7566, allocations: 194 kB / 1.147 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7566, allocations: 3.938 kB / 1.147 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.7568, allocations: 39.19 kB / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7568, allocations: 3.328 kB / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.7568, allocations: 8.875 kB / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7569, allocations: 4 kB / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7569, allocations: 0 / 1.147 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.7571, allocations: 209.5 kB / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.7572, allocations: 94.59 kB / 1.147 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.7573, allocations: 3.125 kB / 1.147 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.7574, allocations: 7.094 kB / 1.147 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.7574, allocations: 13.12 kB / 1.148 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7574, allocations: 11.8 kB / 1.148 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.7575, allocations: 82.41 kB / 1.148 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7575, allocations: 3.938 kB / 1.148 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000201/0.7577, allocations: 25.81 kB / 1.148 GB, free: 12.11 MB / 0.7605 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.0001333/0.7578, allocations: 110.3 kB / 1.148 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.758, allocations: 101.7 kB / 1.148 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.758, allocations: 7.625 kB / 1.148 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.7581, allocations: 49.91 kB / 1.148 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.7583, allocations: 16.31 kB / 1.148 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.7591, allocations: 0.6111 MB / 1.148 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.7594, allocations: 0.7044 MB / 1.149 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.7595, allocations: 23.25 kB / 1.149 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.7596, allocations: 17.25 kB / 1.149 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of SimCode: time 1.453e-06/0.7596, allocations: 4 kB / 1.149 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.003037/0.7626, allocations: 1.019 MB / 1.15 GB, free: 10.77 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)