Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001086/0.001086, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007683/0.007683, allocations: 171 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 16 kB / 0.8729 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5723, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1394/0.7117, allocations: 131.5 MB / 1.152 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.7119, allocations: 63.8 kB / 1.152 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.7119, allocations: 0 / 1.152 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.937e-05/0.712, allocations: 0 / 1.152 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.712, allocations: 15.91 kB / 1.152 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.7127, allocations: 231 kB / 1.152 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.7128, allocations: 59.83 kB / 1.152 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 2.524e-05/0.7128, allocations: 0 / 1.152 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.7129, allocations: 15.97 kB / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.7129, allocations: 12 kB / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.7129, allocations: 0 / 1.152 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.7133, allocations: 251.3 kB / 1.152 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.7134, allocations: 8 kB / 1.152 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.7134, allocations: 37.69 kB / 1.152 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.7137, allocations: 197.8 kB / 1.152 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.7137, allocations: 0 / 1.152 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7137, allocations: 3.938 kB / 1.152 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.7137, allocations: 0 / 1.152 GB, free: 10.97 MB / 0.9044 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.0003781/0.7141, allocations: 353 kB / 1.153 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7142, allocations: 8.031 kB / 1.153 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.7142, allocations: 30.75 kB / 1.153 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.7142, allocations: 4.938 kB / 1.153 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.7143, allocations: 168.4 kB / 1.153 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.7144, allocations: 30.02 kB / 1.153 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.7144, allocations: 4 kB / 1.153 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.7145, allocations: 45.67 kB / 1.153 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.7145, allocations: 3.938 kB / 1.153 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.7145, allocations: 0 / 1.153 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.7146, allocations: 0 / 1.153 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.7146, allocations: 23.92 kB / 1.153 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.7152, allocations: 0.6028 MB / 1.154 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 2.878e-05/0.7153, allocations: 14.58 kB / 1.154 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.7153, allocations: 4.859 kB / 1.154 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.7155, allocations: 336.5 kB / 1.154 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7155, allocations: 42.5 kB / 1.154 GB, free: 9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7155, allocations: 0 / 1.154 GB, free: 9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.7156, allocations: 37.61 kB / 1.154 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7157, allocations: 51.41 kB / 1.154 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.7157, allocations: 101.8 kB / 1.154 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.7158, allocations: 29.7 kB / 1.154 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.7158, allocations: 84.05 kB / 1.154 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.7158, allocations: 3.938 kB / 1.154 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.7159, allocations: 17.7 kB / 1.154 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.716, allocations: 322.9 kB / 1.155 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.716, allocations: 0 / 1.155 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.716, allocations: 17.66 kB / 1.155 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.716, allocations: 25.7 kB / 1.155 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.716, allocations: 0 / 1.155 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.89e-05/0.7161, allocations: 53.62 kB / 1.155 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.7161, allocations: 5.719 kB / 1.155 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7161, allocations: 4 kB / 1.155 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.7161, allocations: 0 / 1.155 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.7162, allocations: 4 kB / 1.155 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.7162, allocations: 0 / 1.155 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.7162, allocations: 3.938 kB / 1.155 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.7162, allocations: 4 kB / 1.155 GB, free: 8.18 MB / 0.9044 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.054e-05/0.7163, allocations: 110.4 kB / 1.155 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7163, allocations: 11.97 kB / 1.155 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.921e-05/0.7164, allocations: 124.8 kB / 1.155 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.7165, allocations: 176.3 kB / 1.155 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.7166, allocations: 180.2 kB / 1.155 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/0.7167, allocations: 188.2 kB / 1.156 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.7169, allocations: 409.2 kB / 1.156 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.7169, allocations: 104.9 kB / 1.156 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.7171, allocations: 101 kB / 1.156 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/0.7171, allocations: 188.2 kB / 1.156 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.7172, allocations: 176.3 kB / 1.156 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/0.7173, allocations: 176.3 kB / 1.157 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.598e-05/0.7173, allocations: 192.5 kB / 1.157 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.7175, allocations: 311.7 kB / 1.157 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.7176, allocations: 186.1 kB / 1.157 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.7177, allocations: 180.3 kB / 1.157 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7179, allocations: 112.9 kB / 1.158 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.718, allocations: 184.3 kB / 1.158 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.718, allocations: 112.8 kB / 1.158 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.718, allocations: 79.28 kB / 1.158 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7181, allocations: 0 / 1.158 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000264/0.7183, allocations: 55.92 kB / 1.158 GB, free: 4.668 MB / 0.9044 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.0005566/0.7189, allocations: 0.8763 MB / 1.159 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.004e-05/0.7189, allocations: 15.94 kB / 1.159 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.719, allocations: 0 / 1.159 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.719, allocations: 0 / 1.159 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.7193, allocations: 0.5302 MB / 1.159 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.7202, allocations: 1.346 MB / 1.161 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.7206, allocations: 0.6731 MB / 1.161 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.7206, allocations: 4 kB / 1.161 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.7206, allocations: 15.42 kB / 1.161 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7206, allocations: 3.938 kB / 1.161 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5302/1.251, allocations: 2.003 MB / 1.163 GB, free: 15.18 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/1.251, allocations: 211 kB / 1.164 GB, free: 14.93 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.934, allocations: 0 / 1.164 GB, free: 14.93 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches