Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.399/2.399, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001332/0.001332, allocations: 189.4 kB / 329.5 MB, free: 1.172 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 2.48/2.48, allocations: 225.6 MB / 0.6001 GB, free: 2.289 MB / 426.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.0009404/0.0009403, allocations: 104 kB / 0.7074 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 13.56 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001357/0.2395, allocations: 0.9852 MB / 0.9317 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8488/1.088, allocations: 133.5 MB / 1.062 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/1.088, allocations: 0 / 1.062 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/1.088, allocations: 5.109 kB / 1.062 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/1.089, allocations: 8.422 kB / 1.062 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/1.089, allocations: 75.91 kB / 1.062 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 8.528e-05/1.089, allocations: 34.33 kB / 1.062 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/1.089, allocations: 1.891 kB / 1.062 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/1.089, allocations: 17.22 kB / 1.062 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/1.089, allocations: 15.08 kB / 1.062 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/1.089, allocations: 1.375 kB / 1.062 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/1.09, allocations: 78.12 kB / 1.062 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/1.09, allocations: 9.406 kB / 1.062 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/1.09, allocations: 29.83 kB / 1.062 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/1.09, allocations: 44.98 kB / 1.062 GB, free: 17.63 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.09, allocations: 0 / 1.062 GB, free: 17.63 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.494e-06/1.09, allocations: 0 / 1.062 GB, free: 17.63 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.568e-06/1.09, allocations: 1.375 kB / 1.062 GB, free: 17.63 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.0005156/1.091, allocations: 341 kB / 1.063 GB, free: 17.28 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.991e-05/1.091, allocations: 9.625 kB / 1.063 GB, free: 17.28 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/1.091, allocations: 15.34 kB / 1.063 GB, free: 17.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/1.091, allocations: 163.3 kB / 1.063 GB, free: 17.08 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.091, allocations: 8.562 kB / 1.063 GB, free: 17.07 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/1.092, allocations: 8.078 kB / 1.063 GB, free: 17.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.092, allocations: 52.98 kB / 1.063 GB, free: 17.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.092, allocations: 1.375 kB / 1.063 GB, free: 17.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/1.092, allocations: 3.062 kB / 1.063 GB, free: 17.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.092, allocations: 1.375 kB / 1.063 GB, free: 17.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/1.092, allocations: 17.78 kB / 1.063 GB, free: 17.03 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/1.092, allocations: 170.5 kB / 1.063 GB, free: 16.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.092, allocations: 54.48 kB / 1.063 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/1.093, allocations: 17.92 kB / 1.063 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/1.093, allocations: 0.6094 kB / 1.063 GB, free: 16.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.093, allocations: 35.38 kB / 1.063 GB, free: 16.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/1.093, allocations: 1.375 kB / 1.063 GB, free: 16.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001053/1.094, allocations: 369.4 kB / 1.064 GB, free: 16.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.094, allocations: 53.25 kB / 1.064 GB, free: 16.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/1.094, allocations: 94.7 kB / 1.064 GB, free: 16.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/1.094, allocations: 27.02 kB / 1.064 GB, free: 16.31 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/1.094, allocations: 80.14 kB / 1.064 GB, free: 16.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/1.094, allocations: 45.88 kB / 1.064 GB, free: 16.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/1.094, allocations: 7.438 kB / 1.064 GB, free: 16.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.094, allocations: 316.3 kB / 1.064 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/1.094, allocations: 17.95 kB / 1.064 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/1.094, allocations: 41.23 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/1.094, allocations: 18.69 kB / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/1.094, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002067/1.095, allocations: 92.09 kB / 1.064 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.095, allocations: 9.5 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.095, allocations: 11.33 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.095, allocations: 1.281 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/1.095, allocations: 19.8 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.095, allocations: 1.922 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/1.095, allocations: 6.625 kB / 1.064 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.095, allocations: 5.75 kB / 1.064 GB, free: 15.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.095, allocations: 115.2 kB / 1.064 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/1.095, allocations: 7.75 kB / 1.065 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/1.095, allocations: 14.34 kB / 1.065 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.095, allocations: 5.281 kB / 1.065 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.095, allocations: 1.312 kB / 1.065 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/1.095, allocations: 0.6562 kB / 1.065 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/1.095, allocations: 173.1 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.095, allocations: 1 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/1.096, allocations: 24.16 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.096, allocations: 3.75 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.096, allocations: 1.094 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.096, allocations: 0 / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.096, allocations: 5.641 kB / 1.065 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/1.096, allocations: 141.9 kB / 1.065 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/1.096, allocations: 83.28 kB / 1.065 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/1.096, allocations: 1.406 kB / 1.065 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.096, allocations: 6.781 kB / 1.065 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/1.096, allocations: 5.75 kB / 1.065 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/1.096, allocations: 6.75 kB / 1.065 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.797e-05/1.096, allocations: 76.28 kB / 1.065 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.096, allocations: 5.953 kB / 1.065 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002542/1.097, allocations: 15.12 kB / 1.065 GB, free: 15.24 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 (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.0001426/1.097, allocations: 107.1 kB / 1.065 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002046/1.097, allocations: 60.3 kB / 1.065 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.097, allocations: 1.531 kB / 1.065 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/1.097, allocations: 36.69 kB / 1.065 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/1.097, allocations: 7.797 kB / 1.065 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/1.098, allocations: 386.3 kB / 1.066 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/1.099, allocations: 0.6861 MB / 1.066 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001114/1.099, allocations: 9.641 kB / 1.066 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/1.099, allocations: 12.56 kB / 1.066 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/1.099, allocations: 0 / 1.066 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of Templates: time 0.003566/1.102, allocations: 0.5869 MB / 1.067 GB, free: 14.07 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)