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.001179/0.001179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001169, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.206/1.206, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.122/2.122, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5177, allocations: 140.3 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1424/0.6602, allocations: 146.2 MB / 1.092 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.6603, allocations: 59.78 kB / 1.092 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.6604, allocations: 0 / 1.092 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.6605, allocations: 3.938 kB / 1.092 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.6606, allocations: 7.984 kB / 1.092 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.6613, allocations: 214.4 kB / 1.092 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.6614, allocations: 27.92 kB / 1.092 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.6614, allocations: 3.984 kB / 1.092 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.6615, allocations: 23.92 kB / 1.092 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.6615, allocations: 11.92 kB / 1.092 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.6615, allocations: 4 kB / 1.092 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.6619, allocations: 203.4 kB / 1.093 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.662, allocations: 7.984 kB / 1.093 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.662, allocations: 15.92 kB / 1.093 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.6623, allocations: 122 kB / 1.093 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6623, allocations: 0 / 1.093 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6623, allocations: 4 kB / 1.093 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6623, allocations: 0 / 1.093 GB, free: 14.62 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.000356/0.6627, allocations: 343.4 kB / 1.093 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6627, allocations: 12.03 kB / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.6627, allocations: 30.75 kB / 1.093 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.663, allocations: 32.91 kB / 1.093 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.6631, allocations: 164.1 kB / 1.093 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.6632, allocations: 25.7 kB / 1.093 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.6632, allocations: 4 kB / 1.093 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6633, allocations: 53.61 kB / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.6634, allocations: 0 / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.6634, allocations: 0 / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.6634, allocations: 0 / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.6635, allocations: 27.98 kB / 1.093 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.6638, allocations: 260.8 kB / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.6639, allocations: 30.52 kB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.6639, allocations: 8.859 kB / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.664, allocations: 97.16 kB / 1.094 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6641, allocations: 30.56 kB / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6641, allocations: 0 / 1.094 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002226/0.6643, allocations: 49.69 kB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.6644, allocations: 59.28 kB / 1.094 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.6644, allocations: 101.8 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.6644, allocations: 37.77 kB / 1.094 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.6645, allocations: 87.98 kB / 1.094 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.6645, allocations: 7.906 kB / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.6645, allocations: 17.7 kB / 1.094 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.6646, allocations: 314.8 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.6647, allocations: 4 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.6647, allocations: 22.56 kB / 1.094 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.6647, allocations: 34.52 kB / 1.094 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6647, allocations: 4 kB / 1.094 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.565e-05/0.6648, allocations: 53.62 kB / 1.094 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6648, allocations: 7.938 kB / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6648, allocations: 0 / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6649, allocations: 0 / 1.094 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.6649, allocations: 12.09 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6649, allocations: 3.938 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.665, allocations: 8 kB / 1.095 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.665, allocations: 4 kB / 1.095 GB, free: 12.44 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.568e-05/0.665, allocations: 113.8 kB / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.6651, allocations: 0 / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.6651, allocations: 7.125 kB / 1.095 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6651, allocations: 0 / 1.095 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6651, allocations: 3.938 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6651, allocations: 8.281 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.6654, allocations: 359.5 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6654, allocations: 0 / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.6654, allocations: 7.938 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6654, allocations: 3.984 kB / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.6654, allocations: 0 / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6654, allocations: 0 / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6654, allocations: 4.062 kB / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.6655, allocations: 77.92 kB / 1.095 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.6656, allocations: 81.05 kB / 1.095 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.6656, allocations: 4 kB / 1.095 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.6657, allocations: 0 / 1.095 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.6657, allocations: 7.984 kB / 1.095 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.6657, allocations: 4.031 kB / 1.095 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.6658, allocations: 83.28 kB / 1.095 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6658, allocations: 0 / 1.095 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001874/0.666, allocations: 8 kB / 1.095 GB, free: 11.57 MB / 0.8575 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.0003985/0.6664, allocations: 0.6132 MB / 1.096 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.6665, allocations: 19.92 kB / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6665, allocations: 0 / 1.096 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.033e-05/0.6665, allocations: 4 kB / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6667, allocations: 11.94 kB / 1.096 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.667, allocations: 153.5 kB / 1.096 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.6672, allocations: 0.6806 MB / 1.097 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.408e-05/0.6673, allocations: 11.92 kB / 1.097 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.6673, allocations: 15.44 kB / 1.097 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.6673, allocations: 0 / 1.097 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/1.978, allocations: 1.35 MB / 1.098 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003102/1.978, allocations: 200.4 kB / 1.098 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/3.632, allocations: 0 / 1.098 GB, free: 8.477 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/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