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: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009246, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005968/0.005968, allocations: 170.3 kB / 16.27 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 13.17 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1206/0.3709, allocations: 131.6 MB / 1.187 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001107/0.371, allocations: 51.86 kB / 1.187 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.3711, allocations: 0 / 1.187 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.989e-05/0.3712, allocations: 11.92 kB / 1.187 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.3712, allocations: 7.938 kB / 1.187 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.3719, allocations: 219.1 kB / 1.188 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.372, allocations: 59.86 kB / 1.188 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.3721, allocations: 0 / 1.188 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.3721, allocations: 15.94 kB / 1.188 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.3722, allocations: 15.97 kB / 1.188 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3722, allocations: 11.88 kB / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.3726, allocations: 235.4 kB / 1.188 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.3727, allocations: 15.97 kB / 1.188 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.3727, allocations: 29.7 kB / 1.188 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.373, allocations: 192 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.373, allocations: 0 / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3731, allocations: 0 / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.3731, allocations: 0 / 1.188 GB, free: 15.96 MB / 0.9512 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.0003291/0.3734, allocations: 351.3 kB / 1.188 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3734, allocations: 11.97 kB / 1.188 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3735, allocations: 38.73 kB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.3735, allocations: 0.9375 kB / 1.188 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.3736, allocations: 172.3 kB / 1.189 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.3737, allocations: 34.02 kB / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.3737, allocations: 0 / 1.189 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3738, allocations: 41.69 kB / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.3738, allocations: 0 / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3738, allocations: 0 / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3739, allocations: 7.938 kB / 1.189 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.3739, allocations: 19.92 kB / 1.189 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.3746, allocations: 0.6027 MB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.235e-05/0.3746, allocations: 14.58 kB / 1.189 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.3746, allocations: 8.922 kB / 1.189 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.3748, allocations: 336.4 kB / 1.19 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3748, allocations: 34.56 kB / 1.19 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3748, allocations: 0 / 1.19 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.375, allocations: 41.62 kB / 1.19 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.375, allocations: 51.41 kB / 1.19 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.3751, allocations: 105.8 kB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3751, allocations: 25.7 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.3752, allocations: 84.05 kB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.3752, allocations: 0 / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.3752, allocations: 13.72 kB / 1.19 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3753, allocations: 322.9 kB / 1.19 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.3753, allocations: 0 / 1.19 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.3753, allocations: 21.89 kB / 1.19 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.3754, allocations: 21.66 kB / 1.19 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3754, allocations: 0 / 1.19 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7e-05/0.3754, allocations: 49.69 kB / 1.19 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3755, allocations: 8 kB / 1.19 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3755, allocations: 4.078 kB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.3755, allocations: 7.922 kB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.3755, allocations: 7.938 kB / 1.19 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3755, allocations: 0 / 1.19 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.3756, allocations: 11.84 kB / 1.19 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3756, allocations: 3.984 kB / 1.19 GB, free: 13.15 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.941e-05/0.3757, allocations: 113.8 kB / 1.191 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.3757, allocations: 4.062 kB / 1.191 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.3758, allocations: 113 kB / 1.191 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.313e-05/0.3758, allocations: 184.2 kB / 1.191 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.764e-05/0.3759, allocations: 184.3 kB / 1.191 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.094e-05/0.376, allocations: 192.1 kB / 1.191 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3762, allocations: 405.2 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/0.3762, allocations: 105 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.3762, allocations: 108.9 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.017e-05/0.3763, allocations: 176.3 kB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.3764, allocations: 184.2 kB / 1.192 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-05/0.3764, allocations: 180.3 kB / 1.192 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.655e-05/0.3765, allocations: 184.2 kB / 1.192 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.3766, allocations: 307.8 kB / 1.193 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.3767, allocations: 186 kB / 1.193 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.3767, allocations: 180.3 kB / 1.193 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3769, allocations: 120.9 kB / 1.193 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.3769, allocations: 176.3 kB / 1.193 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.377, allocations: 104.9 kB / 1.193 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.377, allocations: 83.27 kB / 1.194 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.377, allocations: 0 / 1.194 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002775/0.3773, allocations: 56 kB / 1.194 GB, free: 9.656 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.0005046/0.3778, allocations: 0.8866 MB / 1.194 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.3779, allocations: 8 kB / 1.194 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3779, allocations: 0 / 1.194 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.3779, allocations: 3.938 kB / 1.194 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3782, allocations: 0.5302 MB / 1.195 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.3791, allocations: 1.35 MB / 1.196 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3794, allocations: 0.677 MB / 1.197 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.3794, allocations: 4 kB / 1.197 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.3794, allocations: 11.44 kB / 1.197 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.3794, allocations: 4 kB / 1.197 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/0.487, allocations: 2.005 MB / 1.199 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.4874, allocations: 224.5 kB / 1.199 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.206, allocations: 8 kB / 1.199 GB, free: 3.902 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > 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