Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.975/1.975, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.0009654/0.0009651, allocations: 167.5 kB / 393.1 MB, free: 4.098 MB / 314.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.528/1.528, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 92.03 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 15.98 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5974/0.5978, allocations: 121.3 MB / 1.041 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001201/0.599, allocations: 0.9954 MB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.7592, allocations: 135.5 MB / 1.174 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.7593, allocations: 0 / 1.174 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.7593, allocations: 1.281 kB / 1.174 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.418e-05/0.7594, allocations: 7.922 kB / 1.174 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.7598, allocations: 76.06 kB / 1.174 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.7599, allocations: 38.8 kB / 1.174 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.76, allocations: 2.5 kB / 1.174 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.76, allocations: 19.64 kB / 1.174 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.7601, allocations: 16.91 kB / 1.174 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.7601, allocations: 6.094 kB / 1.174 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.7604, allocations: 71.25 kB / 1.174 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.7604, allocations: 8.922 kB / 1.174 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.7605, allocations: 40.67 kB / 1.174 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.7606, allocations: 67.73 kB / 1.175 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7607, allocations: 1.219 kB / 1.175 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7607, allocations: 0 / 1.175 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7607, allocations: 0 / 1.175 GB, free: 7.586 MB / 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.0003983/0.7611, allocations: 347.2 kB / 1.175 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7611, allocations: 9.5 kB / 1.175 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.7613, allocations: 9.156 kB / 1.175 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.7615, allocations: 169.3 kB / 1.175 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7615, allocations: 5.125 kB / 1.175 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.7615, allocations: 8.281 kB / 1.175 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7617, allocations: 47.78 kB / 1.175 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7617, allocations: 0 / 1.175 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.7617, allocations: 4 kB / 1.175 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.7617, allocations: 1.375 kB / 1.175 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.7618, allocations: 17.11 kB / 1.175 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.762, allocations: 171.7 kB / 1.175 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.7621, allocations: 59.88 kB / 1.175 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.7621, allocations: 12.86 kB / 1.175 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.7622, allocations: 3.984 kB / 1.175 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.7622, allocations: 38.56 kB / 1.175 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7622, allocations: 0 / 1.175 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008012/0.763, allocations: 371.6 kB / 1.176 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.7631, allocations: 51.41 kB / 1.176 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.7632, allocations: 93.86 kB / 1.176 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.7632, allocations: 33.83 kB / 1.176 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.7632, allocations: 80.14 kB / 1.176 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.7633, allocations: 46.72 kB / 1.176 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.7633, allocations: 4 kB / 1.176 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7635, allocations: 322.2 kB / 1.176 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.7635, allocations: 19.42 kB / 1.176 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.7636, allocations: 38.2 kB / 1.176 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.7637, allocations: 57.7 kB / 1.176 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7637, allocations: 4 kB / 1.176 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001387/0.7638, allocations: 92.62 kB / 1.177 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7639, allocations: 11.84 kB / 1.177 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7639, allocations: 0 / 1.177 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.7639, allocations: 4 kB / 1.177 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.764, allocations: 19.38 kB / 1.177 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.7641, allocations: 4 kB / 1.177 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.7641, allocations: 7.938 kB / 1.177 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7641, allocations: 4 kB / 1.177 GB, free: 5.344 MB / 0.7448 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 0.0001021/0.7642, allocations: 117.8 kB / 1.177 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.7642, allocations: 7.906 kB / 1.177 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.7643, allocations: 11.97 kB / 1.177 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7643, allocations: 4 kB / 1.177 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.7643, allocations: 7.406 kB / 1.177 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7643, allocations: 0 / 1.177 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.7645, allocations: 172.3 kB / 1.177 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7645, allocations: 0 / 1.177 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.7646, allocations: 23.47 kB / 1.177 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7646, allocations: 0 / 1.177 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7647, allocations: 4 kB / 1.177 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.7647, allocations: 7.938 kB / 1.177 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7647, allocations: 0 / 1.177 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.7649, allocations: 129.1 kB / 1.177 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.765, allocations: 85.02 kB / 1.177 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.7651, allocations: 4 kB / 1.177 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.7651, allocations: 11.31 kB / 1.177 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.7652, allocations: 8 kB / 1.177 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.7652, allocations: 3.328 kB / 1.177 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.7653, allocations: 83.28 kB / 1.177 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7653, allocations: 0 / 1.177 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001959/0.7655, allocations: 15.94 kB / 1.177 GB, free: 4.598 MB / 0.7448 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 0.0001584/0.7656, allocations: 111.2 kB / 1.177 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.7658, allocations: 50.84 kB / 1.177 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7658, allocations: 96 / 1.177 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.7658, allocations: 31.94 kB / 1.177 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.7661, allocations: 11.42 kB / 1.177 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.7668, allocations: 396 kB / 1.178 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.7672, allocations: 0.6876 MB / 1.179 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.7673, allocations: 12.09 kB / 1.179 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.7673, allocations: 11.44 kB / 1.179 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.7673, allocations: 0 / 1.179 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.003135/0.7705, allocations: 0.6115 MB / 1.179 GB, free: 2.926 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)