Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.001667/0.001667, allocations: 108 kB / 15.61 MB, free: 152 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.001822/0.001822, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5108, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1413/0.6521, allocations: 147.8 MB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.6522, allocations: 63.78 kB / 1.094 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.6523, allocations: 0 / 1.094 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.213e-05/0.6524, allocations: 0 / 1.094 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.6525, allocations: 15.91 kB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.6529, allocations: 107.6 kB / 1.094 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.653, allocations: 35.84 kB / 1.094 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.653, allocations: 4 kB / 1.094 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.6531, allocations: 19.97 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.6532, allocations: 7.938 kB / 1.094 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.6532, allocations: 7.938 kB / 1.094 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.6534, allocations: 91.7 kB / 1.094 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.6535, allocations: 7.938 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.6535, allocations: 11.98 kB / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.6537, allocations: 66.09 kB / 1.095 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6537, allocations: 4 kB / 1.095 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6537, allocations: 0 / 1.095 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.6537, allocations: 4 kB / 1.095 GB, free: 13.07 MB / 0.8575 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.0003305/0.6541, allocations: 343.4 kB / 1.095 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.6541, allocations: 8.031 kB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.6541, allocations: 38.75 kB / 1.095 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.6544, allocations: 16.92 kB / 1.095 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.6545, allocations: 164.1 kB / 1.095 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.6545, allocations: 25.7 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.6545, allocations: 8 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.6547, allocations: 53.59 kB / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.6547, allocations: 0 / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6547, allocations: 0 / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.6547, allocations: 4 kB / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.6548, allocations: 15.98 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.6551, allocations: 264.8 kB / 1.095 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.081e-05/0.6552, allocations: 22.52 kB / 1.095 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.6552, allocations: 8.797 kB / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.6552, allocations: 0 / 1.095 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.6552, allocations: 34.62 kB / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.6552, allocations: 0 / 1.095 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.6554, allocations: 37.69 kB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.6554, allocations: 59.47 kB / 1.096 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.6555, allocations: 101.9 kB / 1.096 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6555, allocations: 25.7 kB / 1.096 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.6555, allocations: 95.97 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.6555, allocations: 7.891 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.6556, allocations: 17.72 kB / 1.096 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.6557, allocations: 314.8 kB / 1.096 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.6557, allocations: 7.984 kB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.6557, allocations: 26.58 kB / 1.096 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.6558, allocations: 26.58 kB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6558, allocations: 0 / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.387e-05/0.6559, allocations: 53.72 kB / 1.096 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6559, allocations: 12 kB / 1.096 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6559, allocations: 3.938 kB / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.6559, allocations: 0 / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.656, allocations: 19.86 kB / 1.096 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.656, allocations: 0 / 1.096 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.656, allocations: 0 / 1.096 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.656, allocations: 4 kB / 1.096 GB, free: 11.03 MB / 0.8575 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.078e-05/0.6561, allocations: 109.8 kB / 1.096 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.6561, allocations: 7.906 kB / 1.096 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/0.6562, allocations: 7.125 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6562, allocations: 3.938 kB / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6562, allocations: 0 / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.6562, allocations: 256 / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.6564, allocations: 346.7 kB / 1.097 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6564, allocations: 4 kB / 1.097 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.6565, allocations: 7.938 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6565, allocations: 0 / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.6565, allocations: 4.031 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6565, allocations: 3.938 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6565, allocations: 0 / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.236e-05/0.6566, allocations: 61.12 kB / 1.097 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.6566, allocations: 81.05 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.6566, allocations: 0 / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.6567, allocations: 4 kB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.6567, allocations: 4.031 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.6567, allocations: 3.938 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.6568, allocations: 87.27 kB / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6568, allocations: 4 kB / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001999/0.657, allocations: 4 kB / 1.097 GB, free: 10.2 MB / 0.8575 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.0002729/0.6573, allocations: 0.6027 MB / 1.098 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.6574, allocations: 19.94 kB / 1.098 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6574, allocations: 0 / 1.098 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.6574, allocations: 0 / 1.098 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.6576, allocations: 5.312 kB / 1.098 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.6579, allocations: 140.6 kB / 1.098 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.6581, allocations: 0.6729 MB / 1.098 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.6582, allocations: 12.06 kB / 1.098 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.6582, allocations: 7.438 kB / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.6582, allocations: 0 / 1.098 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.6739, allocations: 1.35 MB / 1.1 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.632, allocations: 4.5 kB / 1.1 GB, free: 7.422 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches