Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.001574/0.001574, allocations: 108 kB / 15.61 MB, free: 148 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.001585/0.001585, allocations: 195 kB / 16.53 MB, free: 6.699 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.845/2.845, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 69.12 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1656/0.423, allocations: 148.3 MB / 1.209 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.4231, allocations: 63.72 kB / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.4232, allocations: 0 / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.63e-05/0.4233, allocations: 0 / 1.209 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.4234, allocations: 19.91 kB / 1.209 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.4241, allocations: 208.8 kB / 1.209 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.4242, allocations: 31.92 kB / 1.209 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.4242, allocations: 3.984 kB / 1.209 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.4242, allocations: 19.92 kB / 1.209 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.4243, allocations: 11.94 kB / 1.209 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4243, allocations: 0 / 1.209 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.4248, allocations: 203.4 kB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.4248, allocations: 4 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.4248, allocations: 19.91 kB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.4251, allocations: 112 kB / 1.21 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4251, allocations: 0 / 1.21 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4251, allocations: 4 kB / 1.21 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.4251, allocations: 0 / 1.21 GB, free: 8.711 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.0003945/0.4255, allocations: 339.5 kB / 1.21 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4256, allocations: 12.03 kB / 1.21 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.4256, allocations: 34.73 kB / 1.21 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.4259, allocations: 28.81 kB / 1.21 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4261, allocations: 168.1 kB / 1.21 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.4261, allocations: 29.69 kB / 1.21 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4261, allocations: 3.938 kB / 1.21 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4263, allocations: 53.62 kB / 1.21 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4263, allocations: 4 kB / 1.21 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.4263, allocations: 0 / 1.21 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4263, allocations: 0 / 1.21 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.4264, allocations: 23.98 kB / 1.21 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.4267, allocations: 252.9 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/0.4268, allocations: 26.58 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.4268, allocations: 12.84 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.427, allocations: 101.1 kB / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.427, allocations: 34.5 kB / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4271, allocations: 0 / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002314/0.4273, allocations: 49.69 kB / 1.211 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4273, allocations: 59.47 kB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.4274, allocations: 93.86 kB / 1.211 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4274, allocations: 29.7 kB / 1.211 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.4275, allocations: 92.03 kB / 1.211 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-06/0.4275, allocations: 3.906 kB / 1.211 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.4276, allocations: 17.72 kB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4277, allocations: 310.8 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.4277, allocations: 11.92 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.4278, allocations: 26.58 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.4278, allocations: 26.58 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4278, allocations: 4 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.173e-05/0.4279, allocations: 53.62 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4279, allocations: 8.094 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.428, allocations: 0 / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.428, allocations: 0 / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.428, allocations: 15.92 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.428, allocations: 3.938 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.4281, allocations: 7.844 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.4281, allocations: 4 kB / 1.211 GB, free: 6.535 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 7.981e-05/0.4282, allocations: 113.8 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.4282, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.4282, allocations: 7.125 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.4282, allocations: 0 / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4282, allocations: 3.938 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4283, allocations: 4 kB / 1.212 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.4286, allocations: 363.6 kB / 1.212 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4286, allocations: 0 / 1.212 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.4286, allocations: 7.938 kB / 1.212 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4286, allocations: 4.062 kB / 1.212 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.4287, allocations: 3.938 kB / 1.212 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4287, allocations: 0 / 1.212 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4287, allocations: 4 kB / 1.212 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.4288, allocations: 70.2 kB / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.4288, allocations: 88.89 kB / 1.212 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4288, allocations: 4 kB / 1.212 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.4289, allocations: 16 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.429, allocations: 4 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.429, allocations: 0 / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.429, allocations: 79.28 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.429, allocations: 0 / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002024/0.4292, allocations: 8 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003998/0.4296, allocations: 0.6132 MB / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.813e-05/0.4297, allocations: 15.98 kB / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4297, allocations: 0 / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.4297, allocations: 8.156 kB / 1.213 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.43, allocations: 8.125 kB / 1.213 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.4303, allocations: 153.1 kB / 1.213 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4306, allocations: 0.6729 MB / 1.214 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.4307, allocations: 11.98 kB / 1.214 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.4307, allocations: 7.438 kB / 1.214 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.4307, allocations: 0 / 1.214 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.451, allocations: 1.428 MB / 1.215 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.9, allocations: 13.56 kB / 1.215 GB, free: 2.707 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches