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.001335/0.001335, allocations: 112.5 kB / 15.73 MB, free: 76 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.001307/0.001307, allocations: 193.6 kB / 16.67 MB, free: 6.574 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.761/2.761, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2687, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.662/0.9308, allocations: 147.8 MB / 1.311 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.9309, allocations: 52.5 kB / 1.311 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.931, allocations: 1.188 kB / 1.311 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.931, allocations: 4.734 kB / 1.311 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.9311, allocations: 12.8 kB / 1.311 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.9315, allocations: 102.9 kB / 1.311 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.9316, allocations: 38.5 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.9317, allocations: 5.812 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.9317, allocations: 18.94 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.9318, allocations: 10.09 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.9318, allocations: 1.188 kB / 1.311 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.932, allocations: 84.03 kB / 1.311 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.9321, allocations: 9.281 kB / 1.311 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.9321, allocations: 11.8 kB / 1.311 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.9323, allocations: 77.08 kB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9323, allocations: 1.438 kB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9323, allocations: 0 / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.9323, allocations: 0 / 1.311 GB, free: 12.45 MB / 1.014 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.0004034/0.9327, allocations: 338.9 kB / 1.311 GB, free: 12.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.9328, allocations: 10.19 kB / 1.311 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.9328, allocations: 36.94 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.933, allocations: 16.86 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.9332, allocations: 170.1 kB / 1.311 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.9332, allocations: 31.36 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.9332, allocations: 5.531 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9334, allocations: 47.36 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.9334, allocations: 0 / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9334, allocations: 1.766 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.9334, allocations: 1.953 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.9335, allocations: 22.89 kB / 1.312 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.9339, allocations: 261.5 kB / 1.312 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/0.9339, allocations: 17.64 kB / 1.312 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.934, allocations: 9.672 kB / 1.312 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.934, allocations: 0.6094 kB / 1.312 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.934, allocations: 31.75 kB / 1.312 GB, free: 11.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.934, allocations: 0 / 1.312 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.9341, allocations: 38.91 kB / 1.312 GB, free: 11.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.9342, allocations: 60.31 kB / 1.312 GB, free: 11.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.9343, allocations: 112.3 kB / 1.312 GB, free: 11.24 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.9343, allocations: 25.7 kB / 1.312 GB, free: 11.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.9344, allocations: 90.41 kB / 1.312 GB, free: 11.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.9344, allocations: 1.703 kB / 1.312 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.9344, allocations: 17.66 kB / 1.312 GB, free: 11.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9346, allocations: 317.5 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.9346, allocations: 7.531 kB / 1.313 GB, free: 10.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.9346, allocations: 28.92 kB / 1.313 GB, free: 10.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.9347, allocations: 30.47 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9347, allocations: 1.766 kB / 1.313 GB, free: 10.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.501e-05/0.9348, allocations: 59.25 kB / 1.313 GB, free: 10.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.9348, allocations: 10.38 kB / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.9348, allocations: 0 / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.9348, allocations: 1.438 kB / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.9349, allocations: 7.281 kB / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.9349, allocations: 5.406 kB / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.935, allocations: 2.109 kB / 1.313 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.935, allocations: 1.125 kB / 1.313 GB, free: 10.68 MB / 1.014 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 8.554e-05/0.935, allocations: 117 kB / 1.313 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.9351, allocations: 1.75 kB / 1.313 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.9351, allocations: 13.78 kB / 1.313 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9351, allocations: 1.094 kB / 1.313 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9351, allocations: 4.641 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.9351, allocations: 0 / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.9354, allocations: 340.9 kB / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9354, allocations: 0 / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.9355, allocations: 1.656 kB / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.9355, allocations: 9.016 kB / 1.313 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.9355, allocations: 4.031 kB / 1.313 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9355, allocations: 1.797 kB / 1.313 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9355, allocations: 0 / 1.313 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.9356, allocations: 65.39 kB / 1.313 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.9356, allocations: 83.41 kB / 1.313 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.9357, allocations: 3.938 kB / 1.313 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.9357, allocations: 4.281 kB / 1.313 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.9358, allocations: 5.781 kB / 1.313 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.9358, allocations: 0 / 1.313 GB, free: 9.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.9358, allocations: 87.28 kB / 1.313 GB, free: 9.906 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9358, allocations: 1.25 kB / 1.313 GB, free: 9.906 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001963/0.936, allocations: 5.688 kB / 1.313 GB, free: 9.906 MB / 1.014 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.0003774/0.9364, allocations: 0.6007 MB / 1.314 GB, free: 9.309 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.9365, allocations: 18.08 kB / 1.314 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.9365, allocations: 0 / 1.314 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.9365, allocations: 2.625 kB / 1.314 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.9367, allocations: 9.312 kB / 1.314 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.9371, allocations: 133.5 kB / 1.314 GB, free: 9.168 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.9374, allocations: 0.6806 MB / 1.315 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.9375, allocations: 5.688 kB / 1.315 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.9375, allocations: 8.469 kB / 1.315 GB, free: 8.461 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.9375, allocations: 0 / 1.315 GB, free: 8.461 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.9585, allocations: 1.37 MB / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.646, allocations: 10.23 kB / 1.316 GB, free: 8.121 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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