Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8076/0.8076, allocations: 143.8 MB / 159.1 MB, free: 6.5 MB / 122.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.001061/0.001061, allocations: 183.3 kB / 192 MB, free: 6.723 MB / 154.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.434/1.434, allocations: 225.7 MB / 450.4 MB, free: 6.73 MB / 330.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.0009714/0.0009715, allocations: 107.5 kB / 0.5211 GB, free: 3.387 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 280.6 kB / 0.6025 GB, free: 49.56 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004216, allocations: 15.98 kB / 0.6948 GB, free: 2.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.339, allocations: 82.44 MB / 0.7753 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001168/0.3402, allocations: 1.041 MB / 0.7763 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1384/0.4786, allocations: 137.1 MB / 0.9102 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.4787, allocations: 0 / 0.9102 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.88e-05/0.4787, allocations: 7.922 kB / 0.9102 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.4789, allocations: 15.92 kB / 0.9102 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.3823/0.8612, allocations: 290.5 kB / 0.9105 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.8614, allocations: 88.22 kB / 0.9106 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.8615, allocations: 3.594 kB / 0.9106 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.8615, allocations: 31.31 kB / 0.9106 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.8617, allocations: 38.78 kB / 0.9107 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.8617, allocations: 3.5 kB / 0.9107 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.8628, allocations: 0.4923 MB / 0.9112 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.8629, allocations: 17.38 kB / 0.9112 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.863, allocations: 53.25 kB / 0.9112 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.8634, allocations: 185 kB / 0.9114 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8634, allocations: 1.969 kB / 0.9114 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8635, allocations: 0.9062 kB / 0.9114 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8635, allocations: 0 / 0.9114 GB, free: 4.426 MB / 0.5573 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.0003407/0.8638, allocations: 374.7 kB / 0.9118 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8639, allocations: 11.66 kB / 0.9118 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.8643, allocations: 36.3 kB / 0.9118 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.8643, allocations: 163.4 kB / 0.912 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.8644, allocations: 5.906 kB / 0.912 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.8644, allocations: 17.47 kB / 0.912 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.8646, allocations: 77.42 kB / 0.9121 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8646, allocations: 1.031 kB / 0.9121 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.8646, allocations: 3.438 kB / 0.9121 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8646, allocations: 6.234 kB / 0.9121 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.8647, allocations: 44.41 kB / 0.9121 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.8649, allocations: 188.7 kB / 0.9123 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.8651, allocations: 90.41 kB / 0.9124 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.8652, allocations: 34.67 kB / 0.9124 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.8654, allocations: 178.9 kB / 0.9126 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.8654, allocations: 34.97 kB / 0.9126 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.8654, allocations: 0 / 0.9126 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.001246/0.8666, allocations: 0.5391 MB / 0.9131 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.8667, allocations: 54.34 kB / 0.9132 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.8667, allocations: 96.06 kB / 0.9133 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.8668, allocations: 30.89 kB / 0.9133 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.8668, allocations: 81.14 kB / 0.9134 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.8668, allocations: 72.73 kB / 0.9135 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-06/0.8669, allocations: 4.625 kB / 0.9135 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.8671, allocations: 327 kB / 0.9138 GB, free: 18.45 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.8672, allocations: 40.52 kB / 0.9138 GB, free: 18.45 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.8673, allocations: 68.59 kB / 0.9139 GB, free: 18.42 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.8675, allocations: 113.5 kB / 0.914 GB, free: 18.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8675, allocations: 0 / 0.914 GB, free: 18.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002273/0.8677, allocations: 160.2 kB / 0.9141 GB, free: 18.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8677, allocations: 5.812 kB / 0.9141 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8678, allocations: 5.391 kB / 0.9141 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8678, allocations: 2.344 kB / 0.9142 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.868, allocations: 42.84 kB / 0.9142 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.868, allocations: 2.484 kB / 0.9142 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.868, allocations: 4.969 kB / 0.9142 GB, free: 18.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.868, allocations: 8.312 kB / 0.9142 GB, free: 18.34 MB / 0.573 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 8.395e-05/0.8681, allocations: 125 kB / 0.9143 GB, free: 18.22 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.8682, allocations: 10.34 kB / 0.9143 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.8682, allocations: 22.03 kB / 0.9144 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.8682, allocations: 5.141 kB / 0.9144 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8682, allocations: 0 / 0.9144 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8682, allocations: 2.25 kB / 0.9144 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.8684, allocations: 195.4 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8684, allocations: 0 / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.8686, allocations: 41.14 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8686, allocations: 0.75 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.8686, allocations: 3.781 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.8686, allocations: 1.5 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8686, allocations: 0.7969 kB / 0.9146 GB, free: 18.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.8689, allocations: 216.9 kB / 0.9148 GB, free: 17.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.869, allocations: 91.94 kB / 0.9149 GB, free: 17.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.869, allocations: 6.781 kB / 0.9149 GB, free: 17.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8691, allocations: 4.984 kB / 0.9149 GB, free: 17.84 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.8692, allocations: 16.41 kB / 0.9149 GB, free: 17.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.8692, allocations: 6.094 kB / 0.9149 GB, free: 17.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.8692, allocations: 84.16 kB / 0.915 GB, free: 17.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8692, allocations: 0 / 0.915 GB, free: 17.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002019/0.8694, allocations: 28.97 kB / 0.915 GB, free: 17.75 MB / 0.573 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.0001389/0.8696, allocations: 114.8 kB / 0.9151 GB, free: 17.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.8698, allocations: 102.2 kB / 0.9152 GB, free: 17.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8698, allocations: 0 / 0.9152 GB, free: 17.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.8699, allocations: 59.2 kB / 0.9153 GB, free: 17.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.8701, allocations: 17.3 kB / 0.9153 GB, free: 17.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.8709, allocations: 0.6201 MB / 0.9159 GB, free: 17.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.8711, allocations: 0.7018 MB / 0.9166 GB, free: 16.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.8713, allocations: 24.27 kB / 0.9166 GB, free: 16.53 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.8713, allocations: 14.78 kB / 0.9166 GB, free: 16.52 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/0.8713, allocations: 5.281 kB / 0.9166 GB, free: 16.52 MB / 0.573 GB Notification: Performance of Templates: time 0.003432/0.8748, allocations: 1.07 MB / 0.9177 GB, free: 16.42 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)