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.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.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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001557/0.001557, allocations: 195.5 kB / 16.14 MB, free: 6.691 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.511/2.511, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5196, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1313/0.6509, allocations: 145.6 MB / 1.159 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.6511, allocations: 47.86 kB / 1.159 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.6511, allocations: 0 / 1.159 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.6513, allocations: 7.938 kB / 1.159 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.6513, allocations: 23.91 kB / 1.159 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.6517, allocations: 103 kB / 1.159 GB, free: 472 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.6518, allocations: 55.83 kB / 1.159 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.032e-05/0.6518, allocations: 4 kB / 1.159 GB, free: 412 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.302e-05/0.6519, allocations: 15.97 kB / 1.159 GB, free: 396 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.6519, allocations: 15.94 kB / 1.159 GB, free: 380 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.6519, allocations: 0 / 1.159 GB, free: 380 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.6522, allocations: 83.72 kB / 1.159 GB, free: 296 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.6522, allocations: 7.984 kB / 1.159 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.6523, allocations: 15.92 kB / 1.159 GB, free: 272 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.6524, allocations: 66.16 kB / 1.159 GB, free: 208 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6524, allocations: 0 / 1.159 GB, free: 208 kB / 0.9044 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6524, allocations: 0 / 1.159 GB, free: 208 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.6524, allocations: 0 / 1.159 GB, free: 208 kB / 0.9044 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.0003318/0.6528, allocations: 335.5 kB / 1.16 GB, free: 15.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6528, allocations: 12.03 kB / 1.16 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.6528, allocations: 38.73 kB / 1.16 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.6531, allocations: 16.92 kB / 1.16 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.6532, allocations: 172.1 kB / 1.16 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.6532, allocations: 29.7 kB / 1.16 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.6532, allocations: 3.938 kB / 1.16 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.6534, allocations: 53.61 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6534, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6534, allocations: 4 kB / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.6534, allocations: 0 / 1.16 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.6535, allocations: 19.98 kB / 1.16 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.6538, allocations: 268.8 kB / 1.16 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.6538, allocations: 18.52 kB / 1.16 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.6539, allocations: 8.922 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.6539, allocations: 7.984 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.6539, allocations: 30.56 kB / 1.16 GB, free: 15.03 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6539, allocations: 0 / 1.16 GB, free: 15.03 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.654, allocations: 33.7 kB / 1.16 GB, free: 14.99 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.6541, allocations: 59.34 kB / 1.16 GB, free: 14.92 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.6541, allocations: 105.8 kB / 1.16 GB, free: 14.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.6542, allocations: 29.64 kB / 1.16 GB, free: 14.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.6542, allocations: 100 kB / 1.161 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/0.6542, allocations: 0 / 1.161 GB, free: 14.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.6542, allocations: 17.72 kB / 1.161 GB, free: 14.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.6543, allocations: 314.8 kB / 1.161 GB, free: 14.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.6544, allocations: 0 / 1.161 GB, free: 14.33 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.6544, allocations: 30.56 kB / 1.161 GB, free: 14.29 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.6544, allocations: 34.52 kB / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6544, allocations: 0 / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.6545, allocations: 53.62 kB / 1.161 GB, free: 14.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6545, allocations: 4 kB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6545, allocations: 0 / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.6546, allocations: 4 kB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.6546, allocations: 7.938 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.6546, allocations: 4.094 kB / 1.161 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.6547, allocations: 11.89 kB / 1.161 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.6547, allocations: 0 / 1.161 GB, free: 14.16 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.52e-05/0.6548, allocations: 117.8 kB / 1.161 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.6548, allocations: 0 / 1.161 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.6548, allocations: 3.125 kB / 1.161 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6548, allocations: 7.938 kB / 1.161 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6548, allocations: 0 / 1.161 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.6548, allocations: 0 / 1.161 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.6551, allocations: 350.7 kB / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6551, allocations: 0 / 1.162 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.6551, allocations: 3.938 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6551, allocations: 0 / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.6551, allocations: 4 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6551, allocations: 3.938 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.6551, allocations: 0 / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.6552, allocations: 57.17 kB / 1.162 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.6553, allocations: 93.19 kB / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6553, allocations: 0 / 1.162 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.6554, allocations: 7.938 kB / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.6554, allocations: 4 kB / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-06/0.6554, allocations: 0 / 1.162 GB, free: 13.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.6555, allocations: 87.27 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6555, allocations: 0 / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001928/0.6557, allocations: 12.03 kB / 1.162 GB, free: 13.31 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.0002891/0.656, allocations: 0.5968 MB / 1.162 GB, free: 12.69 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.656, allocations: 11.94 kB / 1.162 GB, free: 12.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.656, allocations: 224 / 1.162 GB, free: 12.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/0.656, allocations: 12 kB / 1.162 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.6563, allocations: 7.328 kB / 1.162 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.6566, allocations: 145.9 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.6568, allocations: 0.6731 MB / 1.163 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.594e-05/0.6569, allocations: 12.05 kB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.6569, allocations: 11.38 kB / 1.163 GB, free: 11.75 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.6569, allocations: 4 kB / 1.163 GB, free: 11.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3086/0.9655, allocations: 1.204 MB / 1.164 GB, free: 10.7 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/0.9658, allocations: 248 kB / 1.165 GB, free: 10.43 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.781, allocations: 0 / 1.165 GB, free: 10.43 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