Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.777/1.777, allocations: 291.7 MB / 306.8 MB, free: 7.672 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.0009215/0.0009216, allocations: 185.5 kB / 375.4 MB, free: 5.113 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.383/1.383, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0008823/0.0008823, allocations: 95.52 kB / 0.7699 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005978, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6384, allocations: 118.1 MB / 1.011 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001364/0.6399, allocations: 0.9931 MB / 1.012 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.7747, allocations: 133.5 MB / 1.142 GB, free: 380 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.7747, allocations: 0 / 1.142 GB, free: 380 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.7748, allocations: 3.422 kB / 1.142 GB, free: 380 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.7748, allocations: 7.188 kB / 1.142 GB, free: 376 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.7751, allocations: 72.64 kB / 1.142 GB, free: 336 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.7752, allocations: 33.23 kB / 1.142 GB, free: 324 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.7753, allocations: 7.359 kB / 1.142 GB, free: 320 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.7753, allocations: 17.5 kB / 1.142 GB, free: 312 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.7754, allocations: 17.81 kB / 1.142 GB, free: 304 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.7754, allocations: 0 / 1.142 GB, free: 304 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.7756, allocations: 72 kB / 1.142 GB, free: 276 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.7756, allocations: 7.359 kB / 1.142 GB, free: 272 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.7757, allocations: 31.73 kB / 1.142 GB, free: 240 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.7758, allocations: 45.56 kB / 1.142 GB, free: 228 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7758, allocations: 0 / 1.142 GB, free: 228 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7758, allocations: 0 / 1.142 GB, free: 228 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7758, allocations: 0 / 1.142 GB, free: 228 kB / 0.7448 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.0003534/0.7761, allocations: 347.9 kB / 1.143 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.7762, allocations: 9.688 kB / 1.143 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.7764, allocations: 16.84 kB / 1.143 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.7765, allocations: 164 kB / 1.143 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.7765, allocations: 11.12 kB / 1.143 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.7765, allocations: 3.344 kB / 1.143 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.7766, allocations: 58.33 kB / 1.143 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7767, allocations: 0 / 1.143 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.7767, allocations: 4 kB / 1.143 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7767, allocations: 3.938 kB / 1.143 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.7767, allocations: 18.95 kB / 1.143 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.7769, allocations: 166.7 kB / 1.143 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.777, allocations: 47.27 kB / 1.143 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.777, allocations: 15.33 kB / 1.143 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.777, allocations: 3.125 kB / 1.143 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.7771, allocations: 41.73 kB / 1.143 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.7771, allocations: 1.219 kB / 1.143 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0006809/0.7777, allocations: 368 kB / 1.144 GB, free: 15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.7778, allocations: 54.56 kB / 1.144 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.7778, allocations: 93.86 kB / 1.144 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.7779, allocations: 29.83 kB / 1.144 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.7779, allocations: 82.89 kB / 1.144 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.7779, allocations: 41.81 kB / 1.144 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.778, allocations: 2.938 kB / 1.144 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.7781, allocations: 322.3 kB / 1.144 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.7781, allocations: 17.88 kB / 1.144 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.7781, allocations: 38.44 kB / 1.144 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.7782, allocations: 60.09 kB / 1.144 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.7782, allocations: 0 / 1.144 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000129/0.7784, allocations: 106.2 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7784, allocations: 5.719 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.7784, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7784, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.7785, allocations: 23.66 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7785, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.7786, allocations: 3.062 kB / 1.145 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.7786, allocations: 2.969 kB / 1.145 GB, free: 14.23 MB / 0.7605 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 7.313e-05/0.7787, allocations: 128.9 kB / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.7787, allocations: 0 / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.7787, allocations: 15.75 kB / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7787, allocations: 1.938 kB / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.7787, allocations: 0 / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7787, allocations: 0 / 1.145 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.7789, allocations: 176.2 kB / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7789, allocations: 0 / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.779, allocations: 21.53 kB / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.779, allocations: 0 / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.779, allocations: 11.03 kB / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.779, allocations: 0 / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.779, allocations: 1.266 kB / 1.145 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.7792, allocations: 148.2 kB / 1.145 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.7793, allocations: 83.98 kB / 1.145 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7793, allocations: 0 / 1.145 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.7794, allocations: 10.62 kB / 1.145 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.7794, allocations: 5 kB / 1.145 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.7794, allocations: 10.77 kB / 1.145 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.491e-05/0.7795, allocations: 75.28 kB / 1.145 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7795, allocations: 0 / 1.145 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001771/0.7797, allocations: 22.41 kB / 1.145 GB, free: 13.6 MB / 0.7605 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 9.437e-05/0.7798, allocations: 104.8 kB / 1.145 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.7799, allocations: 58.91 kB / 1.145 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7799, allocations: 0 / 1.145 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.7799, allocations: 29.81 kB / 1.145 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.7801, allocations: 10.16 kB / 1.145 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.7806, allocations: 381.2 kB / 1.146 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.7809, allocations: 0.6863 MB / 1.146 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.7809, allocations: 13.59 kB / 1.146 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.781, allocations: 13.88 kB / 1.146 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.781, allocations: 3.938 kB / 1.146 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.002234/0.7832, allocations: 0.5842 MB / 1.147 GB, free: 12.44 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)