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.005913/0.005913, allocations: 97.55 kB / 15.73 MB, free: 6.051 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.001197/0.001197, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.9266/1.229, allocations: 135.4 MB / 1.339 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/1.229, allocations: 50.22 kB / 1.339 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/1.229, allocations: 0 / 1.339 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/1.229, allocations: 4.5 kB / 1.339 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/1.229, allocations: 5.844 kB / 1.339 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/1.23, allocations: 248.4 kB / 1.34 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/1.23, allocations: 32.67 kB / 1.34 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/1.23, allocations: 2.578 kB / 1.34 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/1.23, allocations: 15.81 kB / 1.34 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/1.23, allocations: 11.84 kB / 1.34 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/1.23, allocations: 8.625 kB / 1.34 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/1.231, allocations: 237.7 kB / 1.34 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/1.231, allocations: 9.484 kB / 1.34 GB, free: 8 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/1.231, allocations: 9.469 kB / 1.34 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/1.231, allocations: 189.1 kB / 1.34 GB, free: 7.945 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.231, allocations: 1.031 kB / 1.34 GB, free: 7.945 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/1.231, allocations: 0 / 1.34 GB, free: 7.945 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.231, allocations: 0 / 1.34 GB, free: 7.945 MB / 1.045 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.0004375/1.232, allocations: 359.4 kB / 1.341 GB, free: 7.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.232, allocations: 10.66 kB / 1.341 GB, free: 7.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/1.232, allocations: 31.36 kB / 1.341 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/1.232, allocations: 11 kB / 1.341 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1.232, allocations: 163.4 kB / 1.341 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/1.232, allocations: 27.67 kB / 1.341 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.232, allocations: 4.781 kB / 1.341 GB, free: 7.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/1.232, allocations: 55.36 kB / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.232, allocations: 0 / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.232, allocations: 0.75 kB / 1.341 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/1.232, allocations: 5.562 kB / 1.341 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/1.232, allocations: 17.17 kB / 1.341 GB, free: 7.242 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/1.233, allocations: 0.5961 MB / 1.341 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/1.233, allocations: 17.28 kB / 1.341 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/1.233, allocations: 11.25 kB / 1.341 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/1.234, allocations: 337.6 kB / 1.342 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.234, allocations: 35.62 kB / 1.342 GB, free: 6.125 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.234, allocations: 1.219 kB / 1.342 GB, free: 6.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/1.234, allocations: 34.78 kB / 1.342 GB, free: 6.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.234, allocations: 52.53 kB / 1.342 GB, free: 6.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/1.234, allocations: 102.7 kB / 1.342 GB, free: 5.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.234, allocations: 25.7 kB / 1.342 GB, free: 5.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/1.234, allocations: 86.53 kB / 1.342 GB, free: 5.812 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/1.234, allocations: 8.969 kB / 1.342 GB, free: 5.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/1.234, allocations: 22.53 kB / 1.342 GB, free: 5.781 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002391/1.234, allocations: 316.9 kB / 1.342 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/1.234, allocations: 8.469 kB / 1.342 GB, free: 5.461 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/1.234, allocations: 18.12 kB / 1.342 GB, free: 5.441 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/1.234, allocations: 19.69 kB / 1.343 GB, free: 5.426 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.234, allocations: 4 kB / 1.343 GB, free: 5.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.845e-05/1.234, allocations: 49.3 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.234, allocations: 5.125 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.234, allocations: 1.688 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.234, allocations: 1.062 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/1.235, allocations: 5.812 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.235, allocations: 1.125 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/1.235, allocations: 1.094 kB / 1.343 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/1.235, allocations: 9.641 kB / 1.343 GB, free: 5.375 MB / 1.045 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 8.369e-05/1.235, allocations: 112.7 kB / 1.343 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/1.235, allocations: 2.234 kB / 1.343 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.235, allocations: 120.9 kB / 1.343 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/1.235, allocations: 181 kB / 1.343 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-05/1.235, allocations: 187.5 kB / 1.343 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-05/1.235, allocations: 185.9 kB / 1.343 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/1.235, allocations: 416.1 kB / 1.344 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.341e-05/1.235, allocations: 102.7 kB / 1.344 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/1.235, allocations: 102.8 kB / 1.344 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/1.236, allocations: 182 kB / 1.344 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.236, allocations: 178.9 kB / 1.344 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.027e-05/1.236, allocations: 185.9 kB / 1.344 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.55e-05/1.236, allocations: 178.1 kB / 1.345 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/1.236, allocations: 309.5 kB / 1.345 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/1.236, allocations: 185 kB / 1.345 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/1.236, allocations: 190.3 kB / 1.345 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.236, allocations: 106.1 kB / 1.345 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/1.236, allocations: 178.3 kB / 1.346 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/1.236, allocations: 110.9 kB / 1.346 GB, free: 2.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.559e-05/1.236, allocations: 93.83 kB / 1.346 GB, free: 1.988 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 0 / 1.346 GB, free: 1.988 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003449/1.237, allocations: 55.73 kB / 1.346 GB, free: 1.973 MB / 1.045 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.0005588/1.237, allocations: 0.8816 MB / 1.347 GB, free: 1.137 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.506e-05/1.238, allocations: 19.02 kB / 1.347 GB, free: 1.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.238, allocations: 0 / 1.347 GB, free: 1.125 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/1.238, allocations: 1.094 kB / 1.347 GB, free: 1.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/1.238, allocations: 459.9 kB / 1.347 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/1.239, allocations: 1.355 MB / 1.348 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.239, allocations: 0.6743 MB / 1.349 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.291e-05/1.239, allocations: 9.062 kB / 1.349 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/1.239, allocations: 10.23 kB / 1.349 GB, free: 14.62 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.239, allocations: 4 kB / 1.349 GB, free: 14.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/1.259, allocations: 2.209 MB / 1.351 GB, free: 14.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.871, allocations: 6.297 kB / 1.351 GB, free: 14.14 MB / 1.061 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