Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 297.4 MB / 312.6 MB, free: 2.965 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.001003/0.001003, allocations: 194 kB / 382.3 MB, free: 14.85 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.293/1.293, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0007654/0.0007653, allocations: 89.08 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 9.625 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5988, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001309/0.6001, allocations: 1.044 MB / 1.023 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.7312, allocations: 137.1 MB / 1.157 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.7313, allocations: 7.875 kB / 1.157 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.7313, allocations: 1.406 kB / 1.157 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.7315, allocations: 17.77 kB / 1.157 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.7324, allocations: 297.8 kB / 1.157 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.7325, allocations: 84.98 kB / 1.158 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.7326, allocations: 2 kB / 1.158 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.7326, allocations: 35.56 kB / 1.158 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.7328, allocations: 34.88 kB / 1.158 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.7328, allocations: 2.562 kB / 1.158 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.7337, allocations: 494.6 kB / 1.158 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.7337, allocations: 19.58 kB / 1.158 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.7338, allocations: 56.8 kB / 1.158 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.7342, allocations: 188.1 kB / 1.158 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7342, allocations: 0 / 1.158 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7342, allocations: 0 / 1.158 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7342, allocations: 1.156 kB / 1.158 GB, free: 6.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003786/0.7346, allocations: 376.8 kB / 1.159 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7346, allocations: 17.81 kB / 1.159 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.735, allocations: 32.12 kB / 1.159 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7351, allocations: 169.6 kB / 1.159 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7351, allocations: 10.38 kB / 1.159 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.7352, allocations: 9.938 kB / 1.159 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.7354, allocations: 82.8 kB / 1.159 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.7354, allocations: 0 / 1.159 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.7354, allocations: 1.25 kB / 1.159 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7354, allocations: 1.406 kB / 1.159 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.475e-05/0.7355, allocations: 51.59 kB / 1.159 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.7357, allocations: 183 kB / 1.159 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.7359, allocations: 91.95 kB / 1.159 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.736, allocations: 31.62 kB / 1.159 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.7362, allocations: 178.7 kB / 1.16 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.7362, allocations: 37 kB / 1.16 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.7362, allocations: 0 / 1.16 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001232/0.7375, allocations: 0.5415 MB / 1.16 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7375, allocations: 52.88 kB / 1.16 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.7376, allocations: 104.5 kB / 1.16 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.7376, allocations: 35.11 kB / 1.16 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.7376, allocations: 81.8 kB / 1.16 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.7377, allocations: 69.14 kB / 1.16 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.7377, allocations: 4 kB / 1.16 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.7378, allocations: 317.2 kB / 1.161 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.7379, allocations: 39.03 kB / 1.161 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.738, allocations: 70.88 kB / 1.161 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.7381, allocations: 117.5 kB / 1.161 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.7382, allocations: 3.938 kB / 1.161 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002118/0.7384, allocations: 150.6 kB / 1.161 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.7384, allocations: 9 kB / 1.161 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.7384, allocations: 8.438 kB / 1.161 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7384, allocations: 1.719 kB / 1.161 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7386, allocations: 44.86 kB / 1.161 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.7386, allocations: 0 / 1.161 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.7387, allocations: 11.8 kB / 1.161 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.7387, allocations: 9.438 kB / 1.161 GB, free: 3.836 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.7388, allocations: 124.2 kB / 1.161 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.7388, allocations: 5.562 kB / 1.161 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.7388, allocations: 16.44 kB / 1.161 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7388, allocations: 6.75 kB / 1.161 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7389, allocations: 0 / 1.161 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7389, allocations: 5.031 kB / 1.161 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.739, allocations: 194 kB / 1.162 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.739, allocations: 0 / 1.162 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.7392, allocations: 40.89 kB / 1.162 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7392, allocations: 1 kB / 1.162 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7393, allocations: 1.812 kB / 1.162 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7393, allocations: 5.062 kB / 1.162 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7393, allocations: 0 / 1.162 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.7396, allocations: 217.9 kB / 1.162 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.7397, allocations: 89.94 kB / 1.162 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.7397, allocations: 5.438 kB / 1.162 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.7398, allocations: 3.969 kB / 1.162 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.7398, allocations: 16.69 kB / 1.162 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.7399, allocations: 9.094 kB / 1.162 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.7399, allocations: 76.72 kB / 1.162 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7399, allocations: 4.094 kB / 1.162 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002017/0.7401, allocations: 30.16 kB / 1.162 GB, free: 3.148 MB / 0.7448 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 (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.0001324/0.7403, allocations: 112.4 kB / 1.162 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.7405, allocations: 105.1 kB / 1.162 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7405, allocations: 0 / 1.162 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.7405, allocations: 48.7 kB / 1.162 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7408, allocations: 22.89 kB / 1.162 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/0.7416, allocations: 0.6248 MB / 1.163 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.7418, allocations: 0.7038 MB / 1.164 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.742, allocations: 22.42 kB / 1.164 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.742, allocations: 19.12 kB / 1.164 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.742, allocations: 0 / 1.164 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.003239/0.7453, allocations: 1.061 MB / 1.165 GB, free: 1.746 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)