Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.00156/0.00156, 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.0019/0.0019, allocations: 195.2 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.368/2.368, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.44 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2299, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1229/0.3528, allocations: 135.4 MB / 1.185 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.353, allocations: 59.62 kB / 1.185 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.353, allocations: 0 / 1.185 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.3531, allocations: 4 kB / 1.185 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.3532, allocations: 19.91 kB / 1.185 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.354, allocations: 227 kB / 1.185 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.354, allocations: 31.86 kB / 1.185 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.3541, allocations: 11.98 kB / 1.185 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.3541, allocations: 11.98 kB / 1.185 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.3542, allocations: 19.92 kB / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3542, allocations: 0 / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.3547, allocations: 243.4 kB / 1.186 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.3547, allocations: 4 kB / 1.186 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.3548, allocations: 11.98 kB / 1.186 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3551, allocations: 187.9 kB / 1.186 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3551, allocations: 0 / 1.186 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3551, allocations: 0 / 1.186 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3552, allocations: 8 kB / 1.186 GB, free: 15.54 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003537/0.3555, allocations: 355.5 kB / 1.186 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3556, allocations: 8.625 kB / 1.186 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.3556, allocations: 30.75 kB / 1.186 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3557, allocations: 4.938 kB / 1.186 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.3557, allocations: 172.2 kB / 1.186 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.3558, allocations: 30.02 kB / 1.186 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.3558, allocations: 3.984 kB / 1.186 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.356, allocations: 57.66 kB / 1.187 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.356, allocations: 0 / 1.187 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.356, allocations: 0 / 1.187 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.356, allocations: 3.938 kB / 1.187 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.3561, allocations: 15.98 kB / 1.187 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.3567, allocations: 0.5988 MB / 1.187 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.3568, allocations: 18.58 kB / 1.187 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.3568, allocations: 8.922 kB / 1.187 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.357, allocations: 332.4 kB / 1.187 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.357, allocations: 38.5 kB / 1.188 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.357, allocations: 0 / 1.188 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.3571, allocations: 33.7 kB / 1.188 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3572, allocations: 51.41 kB / 1.188 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.3572, allocations: 110 kB / 1.188 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3573, allocations: 25.7 kB / 1.188 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3573, allocations: 84.05 kB / 1.188 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.3573, allocations: 0 / 1.188 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3573, allocations: 21.7 kB / 1.188 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.3574, allocations: 314.8 kB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.3575, allocations: 8 kB / 1.188 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.3575, allocations: 29.64 kB / 1.188 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.3575, allocations: 17.72 kB / 1.188 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3575, allocations: 0 / 1.188 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.414e-05/0.3576, allocations: 53.53 kB / 1.188 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3576, allocations: 4 kB / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3576, allocations: 0 / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3577, allocations: 4 kB / 1.188 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.896e-05/0.3577, allocations: 8.062 kB / 1.188 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3577, allocations: 0 / 1.188 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.855e-05/0.3577, allocations: 3.938 kB / 1.188 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3577, allocations: 7.938 kB / 1.188 GB, free: 12.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.354e-05/0.3578, allocations: 113.8 kB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3578, allocations: 4 kB / 1.188 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.3579, allocations: 112.9 kB / 1.188 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.358, allocations: 184.3 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001071/0.3581, allocations: 188.2 kB / 1.189 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/0.3582, allocations: 184.1 kB / 1.189 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3584, allocations: 401.2 kB / 1.189 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.3584, allocations: 104.9 kB / 1.189 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.3584, allocations: 108.9 kB / 1.19 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.725e-05/0.3585, allocations: 188.2 kB / 1.19 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.3585, allocations: 176.3 kB / 1.19 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.064e-05/0.3586, allocations: 180.2 kB / 1.19 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001024/0.3587, allocations: 180.4 kB / 1.19 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3589, allocations: 319.7 kB / 1.191 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3589, allocations: 186.3 kB / 1.191 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.359, allocations: 176.3 kB / 1.191 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3591, allocations: 108.9 kB / 1.191 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.3592, allocations: 184.2 kB / 1.191 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.3592, allocations: 116.8 kB / 1.191 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.3592, allocations: 87.28 kB / 1.191 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 1.191 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002732/0.3595, allocations: 59.92 kB / 1.191 GB, free: 9.219 MB / 0.9512 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 (0): * Single equations (assignments): 0 * 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.0004821/0.36, allocations: 0.8751 MB / 1.192 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.03e-05/0.3601, allocations: 15.94 kB / 1.192 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3601, allocations: 0 / 1.192 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3601, allocations: 0 / 1.192 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3605, allocations: 473.2 kB / 1.193 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.3614, allocations: 1.336 MB / 1.194 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3616, allocations: 0.6768 MB / 1.195 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.3617, allocations: 8 kB / 1.195 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.3617, allocations: 15.44 kB / 1.195 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.3617, allocations: 0 / 1.195 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.887/2.248, allocations: 2.189 MB / 1.197 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/13.89, allocations: 16.95 kB / 1.197 GB, free: 3.574 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches