Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001824/0.001824, allocations: 108 kB / 15.6 MB, free: 132 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.001816/0.001816, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.15/1.15, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.198/2.198, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.88 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4614, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1242/0.5856, allocations: 147.8 MB / 1.162 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.5858, allocations: 59.84 kB / 1.162 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.213e-05/0.5858, allocations: 0 / 1.162 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.123e-05/0.5859, allocations: 3.938 kB / 1.162 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.586, allocations: 15.97 kB / 1.162 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.5864, allocations: 111.2 kB / 1.162 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.5865, allocations: 35.84 kB / 1.162 GB, free: 13.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.5865, allocations: 4 kB / 1.162 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.5865, allocations: 11.98 kB / 1.162 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.5866, allocations: 15.92 kB / 1.162 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.5866, allocations: 4 kB / 1.162 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.5868, allocations: 83.72 kB / 1.162 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.5869, allocations: 7.984 kB / 1.162 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.5869, allocations: 11.94 kB / 1.162 GB, free: 13.69 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.5871, allocations: 74.14 kB / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5871, allocations: 0 / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5871, allocations: 0 / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5871, allocations: 0 / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003064/0.5874, allocations: 335.4 kB / 1.163 GB, free: 13.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5874, allocations: 20.02 kB / 1.163 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.5875, allocations: 30.75 kB / 1.163 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.5877, allocations: 16.92 kB / 1.163 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.5878, allocations: 176 kB / 1.163 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.5878, allocations: 29.7 kB / 1.163 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5878, allocations: 0 / 1.163 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5879, allocations: 49.67 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.588, allocations: 4 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.588, allocations: 0 / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.588, allocations: 0 / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.588, allocations: 19.98 kB / 1.163 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.5884, allocations: 260.8 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/0.5884, allocations: 18.52 kB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.5884, allocations: 12.92 kB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/0.5884, allocations: 3.938 kB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5885, allocations: 30.56 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5885, allocations: 0 / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001091/0.5886, allocations: 33.64 kB / 1.163 GB, free: 12.42 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.5886, allocations: 67.33 kB / 1.163 GB, free: 12.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.5887, allocations: 101.9 kB / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5887, allocations: 29.83 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.5887, allocations: 91.97 kB / 1.163 GB, free: 12.1 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/0.5888, allocations: 3.906 kB / 1.163 GB, free: 12.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.5888, allocations: 17.72 kB / 1.163 GB, free: 12.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.5889, allocations: 314.8 kB / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.5889, allocations: 0 / 1.164 GB, free: 11.76 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.5889, allocations: 30.56 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.589, allocations: 34.52 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.589, allocations: 0 / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.135e-05/0.589, allocations: 53.62 kB / 1.164 GB, free: 11.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5891, allocations: 4 kB / 1.164 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5891, allocations: 0 / 1.164 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5891, allocations: 4.25 kB / 1.164 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.5891, allocations: 12.03 kB / 1.164 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5892, allocations: 7.984 kB / 1.164 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.5892, allocations: 7.906 kB / 1.164 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5892, allocations: 0 / 1.164 GB, free: 11.58 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.01e-05/0.5893, allocations: 117.8 kB / 1.164 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5893, allocations: 0 / 1.164 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.5893, allocations: 3.219 kB / 1.164 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5893, allocations: 7.922 kB / 1.164 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5893, allocations: 4 kB / 1.164 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5893, allocations: 4 kB / 1.164 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5896, allocations: 350.7 kB / 1.164 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5896, allocations: 0 / 1.164 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.5896, allocations: 3.938 kB / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5896, allocations: 0 / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.5896, allocations: 0 / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5896, allocations: 4 kB / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5896, allocations: 0 / 1.164 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.622e-05/0.5897, allocations: 65.09 kB / 1.164 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.5897, allocations: 85.05 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5897, allocations: 0 / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.5898, allocations: 0 / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.5898, allocations: 0 / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.5898, allocations: 4 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.5899, allocations: 91.2 kB / 1.165 GB, free: 10.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5899, allocations: 4.031 kB / 1.165 GB, free: 10.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001745/0.5901, allocations: 8 kB / 1.165 GB, free: 10.74 MB / 0.92 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 (1): * Single equations (assignments): 1 * 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.000242/0.5903, allocations: 0.5967 MB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.279e-05/0.5904, allocations: 12.09 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5904, allocations: 4.062 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-06/0.5904, allocations: 8 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.5906, allocations: 0.5625 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.5909, allocations: 148.1 kB / 1.165 GB, free: 9.906 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.5911, allocations: 0.6729 MB / 1.166 GB, free: 9.207 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.972e-05/0.5911, allocations: 12.05 kB / 1.166 GB, free: 9.195 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.5911, allocations: 11.44 kB / 1.166 GB, free: 9.184 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.5911, allocations: 0 / 1.166 GB, free: 9.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.856/3.447, allocations: 1.344 MB / 1.167 GB, free: 7.969 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/13.65, allocations: 8.391 kB / 1.167 GB, free: 7.961 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches