Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.00538/0.00538, allocations: 103.7 kB / 15.74 MB, free: 6.008 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.001143/0.001143, allocations: 187 kB / 16.67 MB, free: 5.934 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.379/2.379, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 70.08 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2874, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1558/0.4432, allocations: 148.3 MB / 1.232 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.4434, allocations: 51.8 kB / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.4435, allocations: 0 / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.4436, allocations: 4 kB / 1.232 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.4438, allocations: 19.91 kB / 1.232 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.4446, allocations: 213.9 kB / 1.233 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.4447, allocations: 35.84 kB / 1.233 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.4448, allocations: 0 / 1.233 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.4448, allocations: 15.94 kB / 1.233 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.4449, allocations: 15.97 kB / 1.233 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.4449, allocations: 8 kB / 1.233 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.4453, allocations: 187.4 kB / 1.233 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.4454, allocations: 15.97 kB / 1.233 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.4454, allocations: 7.938 kB / 1.233 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.4458, allocations: 127.1 kB / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4458, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4458, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4458, allocations: 0 / 1.233 GB, free: 12.46 MB / 0.9981 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.000413/0.4462, allocations: 335.8 kB / 1.233 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4463, allocations: 16.03 kB / 1.233 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.4463, allocations: 30.75 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.4467, allocations: 28.81 kB / 1.233 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4468, allocations: 164.1 kB / 1.233 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.4468, allocations: 29.7 kB / 1.234 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4469, allocations: 7.984 kB / 1.234 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.447, allocations: 45.69 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.447, allocations: 0 / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.447, allocations: 4 kB / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4471, allocations: 3.984 kB / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.4471, allocations: 27.92 kB / 1.234 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.4475, allocations: 256.9 kB / 1.234 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.246e-05/0.4476, allocations: 18.58 kB / 1.234 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.4476, allocations: 8.859 kB / 1.234 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.4478, allocations: 97.16 kB / 1.234 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4478, allocations: 34.5 kB / 1.234 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4478, allocations: 0 / 1.234 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.4481, allocations: 53.62 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.4481, allocations: 59.41 kB / 1.234 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.4482, allocations: 109.8 kB / 1.234 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4482, allocations: 25.7 kB / 1.234 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.4483, allocations: 84.05 kB / 1.234 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-06/0.4483, allocations: 7.844 kB / 1.234 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.4483, allocations: 21.7 kB / 1.234 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.4484, allocations: 310.8 kB / 1.235 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.4484, allocations: 8 kB / 1.235 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.4485, allocations: 26.56 kB / 1.235 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.4485, allocations: 34.52 kB / 1.235 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4485, allocations: 0 / 1.235 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.4486, allocations: 53.62 kB / 1.235 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4486, allocations: 4.094 kB / 1.235 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4487, allocations: 4 kB / 1.235 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4487, allocations: 4 kB / 1.235 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.4487, allocations: 4 kB / 1.235 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4487, allocations: 7.875 kB / 1.235 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.4488, allocations: 11.91 kB / 1.235 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4488, allocations: 0 / 1.235 GB, free: 10.29 MB / 0.9981 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.153e-05/0.4489, allocations: 117.8 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.4489, allocations: 0 / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.4489, allocations: 3.125 kB / 1.235 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.449, allocations: 8 kB / 1.235 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.449, allocations: 3.938 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.449, allocations: 0 / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.4493, allocations: 363.6 kB / 1.235 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4493, allocations: 0 / 1.235 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.4493, allocations: 7.938 kB / 1.235 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4493, allocations: 0 / 1.235 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.4493, allocations: 4.062 kB / 1.235 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4493, allocations: 4 kB / 1.235 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4493, allocations: 0 / 1.235 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.4494, allocations: 69.92 kB / 1.235 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4495, allocations: 96.89 kB / 1.235 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4495, allocations: 0 / 1.235 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.4496, allocations: 8.031 kB / 1.235 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.4496, allocations: 3.984 kB / 1.235 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.4496, allocations: 0 / 1.235 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.4496, allocations: 79.56 kB / 1.236 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4496, allocations: 0 / 1.236 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001996/0.4499, allocations: 8 kB / 1.236 GB, free: 9.41 MB / 0.9981 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.0003405/0.4502, allocations: 0.6134 MB / 1.236 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.337e-05/0.4503, allocations: 19.92 kB / 1.236 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4503, allocations: 4 kB / 1.236 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.4503, allocations: 7.938 kB / 1.236 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4506, allocations: 4.344 kB / 1.236 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.451, allocations: 153 kB / 1.236 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.4512, allocations: 0.6806 MB / 1.237 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.4513, allocations: 11.98 kB / 1.237 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4513, allocations: 11.44 kB / 1.237 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.4513, allocations: 0 / 1.237 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.4697, allocations: 1.456 MB / 1.238 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.613, allocations: 8 kB / 1.238 GB, free: 6.441 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches