Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001316/0.001316, 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.001307/0.001307, allocations: 194.8 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.316/1.316, 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 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.73 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1345/0.3677, allocations: 147.8 MB / 1.208 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/0.3678, allocations: 51.81 kB / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.3678, allocations: 0 / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.204e-05/0.3679, allocations: 3.984 kB / 1.208 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.368, allocations: 7.922 kB / 1.208 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3684, allocations: 115.6 kB / 1.208 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.3685, allocations: 31.91 kB / 1.208 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.3685, allocations: 3.984 kB / 1.208 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.3686, allocations: 12 kB / 1.208 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.3686, allocations: 23.84 kB / 1.208 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3687, allocations: 0 / 1.208 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.3689, allocations: 83.8 kB / 1.208 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.369, allocations: 11.91 kB / 1.208 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.369, allocations: 11.94 kB / 1.208 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3691, allocations: 68.14 kB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3692, allocations: 0 / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3692, allocations: 3.984 kB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3692, allocations: 0 / 1.208 GB, free: 9.676 MB / 0.9669 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.0003209/0.3695, allocations: 331.6 kB / 1.209 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3695, allocations: 8.031 kB / 1.209 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.3696, allocations: 34.69 kB / 1.209 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.3698, allocations: 24.83 kB / 1.209 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.3699, allocations: 176.1 kB / 1.209 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.37, allocations: 37.67 kB / 1.209 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.37, allocations: 0 / 1.209 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3701, allocations: 45.62 kB / 1.209 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.3701, allocations: 0 / 1.209 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3701, allocations: 4 kB / 1.209 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3702, allocations: 8 kB / 1.209 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.3702, allocations: 15.98 kB / 1.209 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3706, allocations: 252.9 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.3706, allocations: 22.58 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.3706, allocations: 8.797 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.3707, allocations: 4 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3707, allocations: 34.55 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.3707, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.3708, allocations: 33.77 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3708, allocations: 55.34 kB / 1.21 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.3709, allocations: 109.8 kB / 1.21 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3709, allocations: 29.7 kB / 1.21 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.371, allocations: 100 kB / 1.21 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.371, allocations: 0 / 1.21 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.371, allocations: 17.72 kB / 1.21 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.3711, allocations: 314.8 kB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3712, allocations: 7.938 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.3712, allocations: 22.59 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3712, allocations: 34.56 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3712, allocations: 0 / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.217e-05/0.3713, allocations: 53.55 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3713, allocations: 7.984 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3714, allocations: 4 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.3714, allocations: 3.938 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.3714, allocations: 7.938 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3715, allocations: 8.094 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.3715, allocations: 3.938 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.3715, allocations: 0 / 1.21 GB, free: 7.637 MB / 0.9669 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.365e-05/0.3716, allocations: 114.3 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3716, allocations: 0 / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.3716, allocations: 15.11 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3716, allocations: 3.938 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3716, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.3716, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.3719, allocations: 346.7 kB / 1.211 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3719, allocations: 0 / 1.211 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.3719, allocations: 7.938 kB / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3719, allocations: 0 / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.3719, allocations: 0 / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3719, allocations: 0 / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3719, allocations: 0 / 1.211 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/0.372, allocations: 73.08 kB / 1.211 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.372, allocations: 81.05 kB / 1.211 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3721, allocations: 0 / 1.211 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.3722, allocations: 7.984 kB / 1.211 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-06/0.3722, allocations: 0 / 1.211 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3722, allocations: 352 / 1.211 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.3722, allocations: 91.22 kB / 1.211 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 0 / 1.211 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002109/0.3724, allocations: 8 kB / 1.211 GB, free: 6.801 MB / 0.9669 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.0002638/0.3727, allocations: 0.5988 MB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.3728, allocations: 11.94 kB / 1.212 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3728, allocations: 3.938 kB / 1.212 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.3728, allocations: 12.2 kB / 1.212 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.373, allocations: 11.98 kB / 1.212 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.3733, allocations: 136.2 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3735, allocations: 0.6768 MB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.222e-05/0.3736, allocations: 8.062 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.3736, allocations: 11.44 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.3736, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.3892, allocations: 1.353 MB / 1.214 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.405, allocations: 6.609 kB / 1.214 GB, free: 4.039 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches