Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 255.9 MB / 271.2 MB, free: 8.938 MB / 218.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.0009606/0.0009605, allocations: 181.8 kB / 330.8 MB, free: 0.5039 MB / 250.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.522/1.522, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.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.000783/0.000783, allocations: 107.5 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 7.781 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1903, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001174/0.1916, allocations: 0.993 MB / 0.9337 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.5628/0.7544, allocations: 135.5 MB / 1.066 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.7544, allocations: 0 / 1.066 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.7545, allocations: 1.781 kB / 1.066 GB, free: 17.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.7545, allocations: 8.641 kB / 1.066 GB, free: 17.24 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.7549, allocations: 79.44 kB / 1.066 GB, free: 17.23 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.755, allocations: 27.88 kB / 1.066 GB, free: 17.22 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.755, allocations: 5 kB / 1.066 GB, free: 17.22 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.7551, allocations: 14.41 kB / 1.066 GB, free: 17.22 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.7552, allocations: 25.17 kB / 1.066 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.7552, allocations: 1.375 kB / 1.066 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.7554, allocations: 73.86 kB / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.7555, allocations: 7.562 kB / 1.066 GB, free: 17.2 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.7555, allocations: 43.14 kB / 1.066 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.7557, allocations: 60.08 kB / 1.066 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7557, allocations: 0.9375 kB / 1.066 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7557, allocations: 1.75 kB / 1.066 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.7557, allocations: 0 / 1.066 GB, free: 17.17 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003803/0.7561, allocations: 349.1 kB / 1.067 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7562, allocations: 12.7 kB / 1.067 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.7563, allocations: 14.75 kB / 1.067 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.7565, allocations: 163.2 kB / 1.067 GB, free: 16.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.7565, allocations: 5.375 kB / 1.067 GB, free: 16.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.7565, allocations: 8 kB / 1.067 GB, free: 16.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.7566, allocations: 60.41 kB / 1.067 GB, free: 16.56 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7567, allocations: 1.75 kB / 1.067 GB, free: 16.56 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.7567, allocations: 5.625 kB / 1.067 GB, free: 16.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7567, allocations: 1.25 kB / 1.067 GB, free: 16.55 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.7567, allocations: 15.48 kB / 1.067 GB, free: 16.55 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.7569, allocations: 165 kB / 1.067 GB, free: 16.36 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.757, allocations: 53.3 kB / 1.067 GB, free: 16.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.757, allocations: 13.31 kB / 1.067 GB, free: 16.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.757, allocations: 1.828 kB / 1.067 GB, free: 16.33 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7571, allocations: 43.38 kB / 1.067 GB, free: 16.28 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.7571, allocations: 0 / 1.067 GB, free: 16.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0007498/0.7578, allocations: 363.1 kB / 1.068 GB, free: 16.03 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.7579, allocations: 53.62 kB / 1.068 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.758, allocations: 96.23 kB / 1.068 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.758, allocations: 35.33 kB / 1.068 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.758, allocations: 86.28 kB / 1.068 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.7581, allocations: 38.44 kB / 1.068 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.7581, allocations: 2.938 kB / 1.068 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7582, allocations: 324.9 kB / 1.068 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.7582, allocations: 14.73 kB / 1.068 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.7583, allocations: 36.61 kB / 1.068 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.7584, allocations: 61.83 kB / 1.068 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7584, allocations: 4 kB / 1.068 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001368/0.7585, allocations: 97.69 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7586, allocations: 9.312 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7586, allocations: 1.188 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7586, allocations: 1.688 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.7587, allocations: 20.47 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7587, allocations: 1.188 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.7588, allocations: 4.531 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.7588, allocations: 3.953 kB / 1.068 GB, free: 15.32 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.7589, allocations: 124.8 kB / 1.069 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.7589, allocations: 3.625 kB / 1.069 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.7589, allocations: 14.12 kB / 1.069 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.759, allocations: 2.125 kB / 1.069 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.759, allocations: 1.859 kB / 1.069 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.759, allocations: 0.7031 kB / 1.069 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.7591, allocations: 174.2 kB / 1.069 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7591, allocations: 0 / 1.069 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.7592, allocations: 25.02 kB / 1.069 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7592, allocations: 0 / 1.069 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7593, allocations: 6.156 kB / 1.069 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7593, allocations: 0.75 kB / 1.069 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7593, allocations: 0.5156 kB / 1.069 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.7595, allocations: 142.9 kB / 1.069 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.7596, allocations: 83.02 kB / 1.069 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.7596, allocations: 3.828 kB / 1.069 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.7597, allocations: 5.609 kB / 1.069 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.7597, allocations: 10.16 kB / 1.069 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.7597, allocations: 10.89 kB / 1.069 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.7598, allocations: 76.31 kB / 1.069 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7598, allocations: 0 / 1.069 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001784/0.76, allocations: 14.91 kB / 1.069 GB, free: 14.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.925e-05/0.7601, allocations: 110.9 kB / 1.069 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.7602, allocations: 56.2 kB / 1.069 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7602, allocations: 4.094 kB / 1.069 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.7602, allocations: 35.95 kB / 1.069 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.7604, allocations: 8.234 kB / 1.069 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.761, allocations: 390 kB / 1.07 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.7612, allocations: 0.6858 MB / 1.07 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.083e-05/0.7613, allocations: 10.12 kB / 1.07 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.7613, allocations: 16.44 kB / 1.07 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of SimCode: time 2.1e-07/0.7613, allocations: 0 / 1.07 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of Templates: time 0.002508/0.7638, allocations: 0.6111 MB / 1.071 GB, free: 13.55 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)