Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001426/0.001426, allocations: 108 kB / 15.61 MB, free: 152 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.001732/0.001732, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.29/1.29, 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 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.524, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1334/0.6574, allocations: 148.3 MB / 1.162 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.6576, allocations: 51.84 kB / 1.162 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.6576, allocations: 0 / 1.162 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.285e-05/0.6577, allocations: 8 kB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.6578, allocations: 11.91 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.6585, allocations: 211.2 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.6585, allocations: 35.84 kB / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.039e-05/0.6586, allocations: 0 / 1.162 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.6586, allocations: 19.92 kB / 1.163 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.6587, allocations: 11.92 kB / 1.163 GB, free: 13.31 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.6587, allocations: 4 kB / 1.163 GB, free: 13.3 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.6591, allocations: 199.5 kB / 1.163 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.6591, allocations: 11.97 kB / 1.163 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.6592, allocations: 11.94 kB / 1.163 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.6594, allocations: 114 kB / 1.163 GB, free: 12.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.6594, allocations: 0 / 1.163 GB, free: 12.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6594, allocations: 0 / 1.163 GB, free: 12.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6594, allocations: 0 / 1.163 GB, free: 12.98 MB / 0.92 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.000337/0.6598, allocations: 343.4 kB / 1.163 GB, free: 12.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6598, allocations: 15.98 kB / 1.163 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.6599, allocations: 42.72 kB / 1.163 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.6601, allocations: 20.92 kB / 1.163 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.6602, allocations: 168.1 kB / 1.163 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.6603, allocations: 29.69 kB / 1.163 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.6603, allocations: 4 kB / 1.163 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.6604, allocations: 45.69 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.6604, allocations: 3.938 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6605, allocations: 0 / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.6605, allocations: 11.92 kB / 1.164 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.6605, allocations: 23.98 kB / 1.164 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.6609, allocations: 256.8 kB / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.6609, allocations: 26.56 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.661, allocations: 4.859 kB / 1.164 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.6611, allocations: 97.16 kB / 1.164 GB, free: 11.72 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6611, allocations: 38.5 kB / 1.164 GB, free: 11.67 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6611, allocations: 0 / 1.164 GB, free: 11.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002381/0.6614, allocations: 49.69 kB / 1.164 GB, free: 11.62 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.6614, allocations: 59.28 kB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.6615, allocations: 102 kB / 1.164 GB, free: 11.44 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6615, allocations: 25.7 kB / 1.164 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.6616, allocations: 95.97 kB / 1.164 GB, free: 11.31 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.6616, allocations: 3.906 kB / 1.164 GB, free: 11.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.6616, allocations: 17.72 kB / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.6617, allocations: 310.8 kB / 1.165 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.6617, allocations: 7.984 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.6618, allocations: 30.52 kB / 1.165 GB, free: 10.92 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.6618, allocations: 30.58 kB / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6618, allocations: 0 / 1.165 GB, free: 10.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.62e-05/0.6619, allocations: 53.62 kB / 1.165 GB, free: 10.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6619, allocations: 4 kB / 1.165 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6619, allocations: 0 / 1.165 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.662, allocations: 8.094 kB / 1.165 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.662, allocations: 11.92 kB / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.662, allocations: 3.938 kB / 1.165 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.6621, allocations: 4 kB / 1.165 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.6621, allocations: 0 / 1.165 GB, free: 10.79 MB / 0.92 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.339e-05/0.6621, allocations: 109.8 kB / 1.165 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.6622, allocations: 7.906 kB / 1.165 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.6622, allocations: 3.125 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6622, allocations: 0 / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6622, allocations: 15.94 kB / 1.165 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.6622, allocations: 0 / 1.165 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6625, allocations: 359.6 kB / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6625, allocations: 0 / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.6625, allocations: 7.938 kB / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6625, allocations: 0 / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.6625, allocations: 0 / 1.165 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6626, allocations: 8.047 kB / 1.165 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6626, allocations: 4 kB / 1.165 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.6626, allocations: 70.22 kB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.6627, allocations: 88.98 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6627, allocations: 3.984 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.6628, allocations: 7.984 kB / 1.165 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.6628, allocations: 11.97 kB / 1.165 GB, free: 9.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.6628, allocations: 0 / 1.165 GB, free: 9.996 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.6629, allocations: 79.28 kB / 1.165 GB, free: 9.918 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6629, allocations: 0 / 1.165 GB, free: 9.918 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001889/0.6631, allocations: 11.98 kB / 1.165 GB, free: 9.906 MB / 0.92 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.0003264/0.6634, allocations: 0.6209 MB / 1.166 GB, free: 9.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.812e-05/0.6635, allocations: 12 kB / 1.166 GB, free: 9.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6635, allocations: 0 / 1.166 GB, free: 9.242 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.6635, allocations: 11.94 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.6637, allocations: 7.031 kB / 1.166 GB, free: 9.227 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.6641, allocations: 145.5 kB / 1.166 GB, free: 9.043 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.6643, allocations: 0.6768 MB / 1.167 GB, free: 8.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.351e-05/0.6644, allocations: 8 kB / 1.167 GB, free: 8.332 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.6644, allocations: 7.438 kB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.6644, allocations: 0 / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2573/0.9217, allocations: 1.421 MB / 1.168 GB, free: 6.977 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.445, allocations: 1.828 kB / 1.168 GB, free: 6.977 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches