Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 180.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003419, allocations: 9.375 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1301/0.4242, allocations: 131.6 MB / 1.188 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.4244, allocations: 55.86 kB / 1.188 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.4244, allocations: 0 / 1.188 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.835e-05/0.4245, allocations: 0 / 1.188 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.4246, allocations: 11.92 kB / 1.188 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.4254, allocations: 215.2 kB / 1.188 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.4255, allocations: 59.77 kB / 1.188 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.4255, allocations: 11.97 kB / 1.188 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.4255, allocations: 8 kB / 1.188 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.4256, allocations: 11.98 kB / 1.188 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.4256, allocations: 0 / 1.188 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.4261, allocations: 247.3 kB / 1.188 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.4261, allocations: 11.92 kB / 1.188 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.4262, allocations: 37.69 kB / 1.188 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.4264, allocations: 124.1 kB / 1.189 GB, free: 132 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4264, allocations: 0 / 1.189 GB, free: 132 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4264, allocations: 3.938 kB / 1.189 GB, free: 128 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.4264, allocations: 0 / 1.189 GB, free: 128 kB / 0.9356 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.0003704/0.4268, allocations: 351.5 kB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4268, allocations: 15.97 kB / 1.189 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.4269, allocations: 0.9375 kB / 1.189 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.427, allocations: 164.3 kB / 1.189 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.427, allocations: 38.25 kB / 1.189 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.427, allocations: 3.938 kB / 1.189 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4272, allocations: 45.62 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4272, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4272, allocations: 4 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.4272, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.4273, allocations: 15.98 kB / 1.189 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.428, allocations: 0.6027 MB / 1.19 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.428, allocations: 18.52 kB / 1.19 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.428, allocations: 8.922 kB / 1.19 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.4282, allocations: 340.4 kB / 1.19 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4282, allocations: 34.56 kB / 1.19 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4282, allocations: 4 kB / 1.19 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.4284, allocations: 29.7 kB / 1.19 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.4284, allocations: 55.39 kB / 1.19 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.4285, allocations: 101.9 kB / 1.19 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4285, allocations: 29.64 kB / 1.19 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.4286, allocations: 84.05 kB / 1.19 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.4286, allocations: 7.969 kB / 1.19 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.4286, allocations: 17.72 kB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.4287, allocations: 322.8 kB / 1.191 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.4287, allocations: 4 kB / 1.191 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.4287, allocations: 17.72 kB / 1.191 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.4288, allocations: 17.7 kB / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4288, allocations: 0 / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.204e-05/0.4289, allocations: 53.62 kB / 1.191 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.4289, allocations: 8.062 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4289, allocations: 0 / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.4289, allocations: 0 / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.263e-05/0.4289, allocations: 4 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.429, allocations: 4 kB / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.429, allocations: 3.906 kB / 1.191 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.429, allocations: 3.938 kB / 1.191 GB, free: 13.36 MB / 0.9512 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 6.462e-05/0.4291, allocations: 113.8 kB / 1.191 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4291, allocations: 3.984 kB / 1.191 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.4292, allocations: 120.9 kB / 1.191 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/0.4293, allocations: 176.3 kB / 1.191 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/0.4293, allocations: 180.2 kB / 1.191 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/0.4294, allocations: 192.2 kB / 1.192 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.4296, allocations: 413.1 kB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-05/0.4296, allocations: 105 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.4296, allocations: 105 kB / 1.192 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.105e-05/0.4297, allocations: 180.2 kB / 1.192 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.4298, allocations: 176.3 kB / 1.193 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.934e-05/0.4298, allocations: 184.2 kB / 1.193 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-05/0.4299, allocations: 184.2 kB / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.43, allocations: 307.7 kB / 1.193 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.4301, allocations: 182.1 kB / 1.193 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.4301, allocations: 184.2 kB / 1.194 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4303, allocations: 117 kB / 1.194 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.4304, allocations: 184.2 kB / 1.194 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-05/0.4304, allocations: 101 kB / 1.194 GB, free: 10 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.4304, allocations: 87.22 kB / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4304, allocations: 0 / 1.194 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003061/0.4308, allocations: 59.92 kB / 1.194 GB, free: 9.859 MB / 0.9512 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.0002993/0.4311, allocations: 254.3 kB / 1.194 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.4311, allocations: 11.94 kB / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4311, allocations: 0 / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.4312, allocations: 0 / 1.194 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4315, allocations: 0.5239 MB / 1.195 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.4318, allocations: 217.5 kB / 1.195 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.432, allocations: 0.677 MB / 1.196 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.4321, allocations: 11.44 kB / 1.196 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.4321, allocations: 0 / 1.196 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of Templates: time 0.002699/0.4348, allocations: 1.225 MB / 1.197 GB, free: 6.875 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches