Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 212.3 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.36 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1646/0.5376, allocations: 119 MB / 1.443 GB, free: 9.539 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.5378, allocations: 51.75 kB / 1.443 GB, free: 9.492 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.5378, allocations: 0 / 1.443 GB, free: 9.492 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.538, allocations: 7.922 kB / 1.443 GB, free: 9.484 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.538, allocations: 4 kB / 1.443 GB, free: 9.48 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009033/0.5389, allocations: 252.7 kB / 1.444 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.539, allocations: 39.83 kB / 1.444 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.5391, allocations: 4 kB / 1.444 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.5391, allocations: 8 kB / 1.444 GB, free: 9.184 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.5392, allocations: 19.91 kB / 1.444 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.5392, allocations: 0 / 1.444 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.5396, allocations: 183.5 kB / 1.444 GB, free: 8.984 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.5396, allocations: 7.938 kB / 1.444 GB, free: 8.977 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.5397, allocations: 8 kB / 1.444 GB, free: 8.969 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.54, allocations: 171.5 kB / 1.444 GB, free: 8.801 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.54, allocations: 0 / 1.444 GB, free: 8.801 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.373e-06/0.54, allocations: 0 / 1.444 GB, free: 8.801 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.54, allocations: 0 / 1.444 GB, free: 8.801 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004367/0.5405, allocations: 290 kB / 1.444 GB, free: 8.488 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5405, allocations: 12.03 kB / 1.444 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.5405, allocations: 0.9375 kB / 1.444 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5407, allocations: 106.5 kB / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.5407, allocations: 59.89 kB / 1.444 GB, free: 8.277 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.5407, allocations: 7.938 kB / 1.444 GB, free: 8.27 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.5409, allocations: 71.39 kB / 1.445 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5409, allocations: 0 / 1.445 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5409, allocations: 0 / 1.445 GB, free: 8.188 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.5409, allocations: 3.984 kB / 1.445 GB, free: 8.184 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.541, allocations: 11.98 kB / 1.445 GB, free: 8.172 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.5416, allocations: 260.5 kB / 1.445 GB, free: 7.887 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.5417, allocations: 26.45 kB / 1.445 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.5417, allocations: 8.859 kB / 1.445 GB, free: 7.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.5418, allocations: 28.05 kB / 1.445 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5418, allocations: 34.56 kB / 1.445 GB, free: 7.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.5418, allocations: 0 / 1.445 GB, free: 7.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.542, allocations: 33.69 kB / 1.445 GB, free: 7.73 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.542, allocations: 59.34 kB / 1.445 GB, free: 7.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.5421, allocations: 105.8 kB / 1.445 GB, free: 7.547 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.5421, allocations: 25.7 kB / 1.445 GB, free: 7.516 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.5422, allocations: 92.03 kB / 1.445 GB, free: 7.422 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.5422, allocations: 0 / 1.445 GB, free: 7.422 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.5422, allocations: 21.84 kB / 1.445 GB, free: 7.395 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5423, allocations: 318.8 kB / 1.445 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.5424, allocations: 4 kB / 1.445 GB, free: 7.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.5424, allocations: 17.72 kB / 1.446 GB, free: 7.047 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.5424, allocations: 17.72 kB / 1.446 GB, free: 7.023 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.5424, allocations: 0 / 1.446 GB, free: 7.023 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.875e-05/0.5425, allocations: 49.62 kB / 1.446 GB, free: 6.969 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5425, allocations: 4 kB / 1.446 GB, free: 6.965 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5425, allocations: 4.062 kB / 1.446 GB, free: 6.961 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5425, allocations: 4 kB / 1.446 GB, free: 6.957 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.5426, allocations: 7.984 kB / 1.446 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5426, allocations: 4 kB / 1.446 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.5426, allocations: 7.953 kB / 1.446 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5426, allocations: 3.938 kB / 1.446 GB, free: 6.934 MB / 1.139 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 (3): * Single equations (assignments): 3 * 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.582e-05/0.5427, allocations: 117.7 kB / 1.446 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.5427, allocations: 4 kB / 1.446 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.5429, allocations: 117 kB / 1.446 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/0.5429, allocations: 176.3 kB / 1.446 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/0.543, allocations: 188.2 kB / 1.446 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.608e-05/0.5431, allocations: 180.3 kB / 1.446 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.5433, allocations: 360.7 kB / 1.447 GB, free: 5.734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/0.5434, allocations: 105 kB / 1.447 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.5434, allocations: 108.9 kB / 1.447 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.5435, allocations: 180.3 kB / 1.447 GB, free: 5.328 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.5436, allocations: 180.2 kB / 1.447 GB, free: 5.145 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.608e-05/0.5436, allocations: 184.1 kB / 1.447 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/0.5437, allocations: 180.5 kB / 1.448 GB, free: 4.773 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5439, allocations: 311.7 kB / 1.448 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.5439, allocations: 113 kB / 1.448 GB, free: 4.328 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.544, allocations: 180.2 kB / 1.448 GB, free: 4.145 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.5442, allocations: 105 kB / 1.448 GB, free: 4.035 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.5443, allocations: 188.2 kB / 1.448 GB, free: 3.844 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.5443, allocations: 105 kB / 1.449 GB, free: 3.734 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.5444, allocations: 79.28 kB / 1.449 GB, free: 3.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5444, allocations: 0 / 1.449 GB, free: 3.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003262/0.5447, allocations: 59.73 kB / 1.449 GB, free: 3.598 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003539/0.5451, allocations: 254.5 kB / 1.449 GB, free: 3.336 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.5451, allocations: 11.94 kB / 1.449 GB, free: 3.324 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5451, allocations: 4 kB / 1.449 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5451, allocations: 0 / 1.449 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.5456, allocations: 465.5 kB / 1.449 GB, free: 2.863 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.5459, allocations: 190.2 kB / 1.45 GB, free: 2.652 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.458e-05/0.5459, allocations: 59.34 kB / 1.45 GB, free: 2.574 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.546, allocations: 4 kB / 1.45 GB, free: 2.57 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.546, allocations: 7.438 kB / 1.45 GB, free: 2.562 MB / 1.139 GB Notification: Performance of SimCode: time 3.1e-07/0.546, allocations: 0 / 1.45 GB, free: 2.562 MB / 1.139 GB Notification: Performance of Templates: time 0.004195/0.5502, allocations: 1.35 MB / 1.451 GB, free: 1.219 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.516082688001916]