Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.005908/0.005908, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.00166/0.00166, allocations: 192 kB / 16.67 MB, free: 5.48 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.22/2.22, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 71.89 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6141, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1336/0.7477, allocations: 135.4 MB / 1.298 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.7479, allocations: 55.84 kB / 1.298 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.7479, allocations: 0 / 1.298 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.134e-05/0.748, allocations: 3.938 kB / 1.298 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.7481, allocations: 19.91 kB / 1.298 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007286/0.7488, allocations: 231 kB / 1.299 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.7489, allocations: 31.84 kB / 1.299 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.749, allocations: 8 kB / 1.299 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.749, allocations: 15.92 kB / 1.299 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.7491, allocations: 11.98 kB / 1.299 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.7491, allocations: 0 / 1.299 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.7496, allocations: 243.5 kB / 1.299 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.7496, allocations: 15.92 kB / 1.299 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.7497, allocations: 4 kB / 1.299 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.75, allocations: 187.2 kB / 1.299 GB, free: 11.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.75, allocations: 0 / 1.299 GB, free: 11.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7501, allocations: 4 kB / 1.299 GB, free: 11.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.7501, allocations: 0 / 1.299 GB, free: 11.04 MB / 1.029 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.0003996/0.7505, allocations: 359.2 kB / 1.3 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7505, allocations: 8.922 kB / 1.3 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.7506, allocations: 34.73 kB / 1.3 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.7506, allocations: 8.938 kB / 1.3 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.7507, allocations: 172.3 kB / 1.3 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.7508, allocations: 33.95 kB / 1.3 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.7508, allocations: 0 / 1.3 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.7509, allocations: 45.67 kB / 1.3 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.7509, allocations: 0 / 1.3 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.7509, allocations: 0 / 1.3 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.751, allocations: 0 / 1.3 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.751, allocations: 19.98 kB / 1.3 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.7517, allocations: 0.5989 MB / 1.3 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.948e-05/0.7518, allocations: 18.52 kB / 1.3 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.7518, allocations: 20.84 kB / 1.3 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.752, allocations: 328.4 kB / 1.301 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.7521, allocations: 38.55 kB / 1.301 GB, free: 9.047 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7521, allocations: 0 / 1.301 GB, free: 9.047 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.7522, allocations: 33.7 kB / 1.301 GB, free: 9.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.7523, allocations: 51.41 kB / 1.301 GB, free: 8.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.7523, allocations: 109.8 kB / 1.301 GB, free: 8.828 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7524, allocations: 25.7 kB / 1.301 GB, free: 8.797 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.7524, allocations: 92.08 kB / 1.301 GB, free: 8.703 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.7524, allocations: 0 / 1.301 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.7525, allocations: 17.84 kB / 1.301 GB, free: 8.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7526, allocations: 318.8 kB / 1.301 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.7526, allocations: 8 kB / 1.301 GB, free: 8.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.7526, allocations: 13.72 kB / 1.301 GB, free: 8.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.7527, allocations: 25.7 kB / 1.301 GB, free: 8.301 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7527, allocations: 0 / 1.301 GB, free: 8.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.334e-05/0.7528, allocations: 53.59 kB / 1.302 GB, free: 8.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7528, allocations: 4 kB / 1.302 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.7528, allocations: 4 kB / 1.302 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.7528, allocations: 0 / 1.302 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.7529, allocations: 7.984 kB / 1.302 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7529, allocations: 0 / 1.302 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.7529, allocations: 3.938 kB / 1.302 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.7529, allocations: 4 kB / 1.302 GB, free: 8.219 MB / 1.029 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 7.187e-05/0.753, allocations: 113.8 kB / 1.302 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.753, allocations: 4 kB / 1.302 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.7531, allocations: 121 kB / 1.302 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.7532, allocations: 176.3 kB / 1.302 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.955e-05/0.7533, allocations: 180.2 kB / 1.302 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.609e-05/0.7533, allocations: 180.2 kB / 1.302 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.7536, allocations: 417.1 kB / 1.303 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.7536, allocations: 105 kB / 1.303 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.7537, allocations: 112.9 kB / 1.303 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.7537, allocations: 184.2 kB / 1.303 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.7538, allocations: 176.3 kB / 1.303 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-05/0.7539, allocations: 188.2 kB / 1.303 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-05/0.754, allocations: 184.2 kB / 1.304 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.7541, allocations: 307.7 kB / 1.304 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.7542, allocations: 186.3 kB / 1.304 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.7543, allocations: 180.2 kB / 1.304 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.7544, allocations: 117 kB / 1.304 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.7545, allocations: 180.5 kB / 1.305 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.7546, allocations: 104.9 kB / 1.305 GB, free: 4.852 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.7546, allocations: 91.27 kB / 1.305 GB, free: 4.762 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.7546, allocations: 0 / 1.305 GB, free: 4.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002684/0.7549, allocations: 47.81 kB / 1.305 GB, free: 4.715 MB / 1.029 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.0005774/0.7555, allocations: 0.8959 MB / 1.306 GB, free: 3.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.017e-05/0.7555, allocations: 8 kB / 1.306 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7555, allocations: 0 / 1.306 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.7556, allocations: 0 / 1.306 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.7559, allocations: 463.6 kB / 1.306 GB, free: 3.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.7569, allocations: 1.344 MB / 1.307 GB, free: 1.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.7572, allocations: 0.6768 MB / 1.308 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.7573, allocations: 7.938 kB / 1.308 GB, free: 1.184 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.7573, allocations: 11.44 kB / 1.308 GB, free: 1.172 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.7573, allocations: 0 / 1.308 GB, free: 1.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.726/6.484, allocations: 2.206 MB / 1.31 GB, free: 15.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.653/16.14, allocations: 14.2 kB / 1.31 GB, free: 15.05 MB / 1.045 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches