Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.009151/0.009151, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.002338/0.002338, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.42/2.42, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 66.23 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1571/0.4437, allocations: 135.4 MB / 1.22 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.4439, allocations: 55.84 kB / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.444, allocations: 0 / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.4441, allocations: 3.938 kB / 1.22 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.4442, allocations: 19.91 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008861/0.4451, allocations: 237.1 kB / 1.22 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.4452, allocations: 35.84 kB / 1.22 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.4452, allocations: 0 / 1.22 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.4453, allocations: 19.98 kB / 1.22 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.4454, allocations: 11.92 kB / 1.22 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4454, allocations: 0 / 1.22 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.4459, allocations: 251.4 kB / 1.22 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.4459, allocations: 0 / 1.22 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.446, allocations: 19.91 kB / 1.22 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.4464, allocations: 178.5 kB / 1.22 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4464, allocations: 8 kB / 1.22 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4464, allocations: 0 / 1.22 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4464, allocations: 0 / 1.22 GB, free: 9.273 MB / 0.9825 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.0004708/0.4469, allocations: 360.3 kB / 1.221 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4469, allocations: 11.97 kB / 1.221 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.447, allocations: 38.69 kB / 1.221 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.447, allocations: 4.938 kB / 1.221 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4471, allocations: 168.3 kB / 1.221 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.4472, allocations: 30.02 kB / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.4472, allocations: 8 kB / 1.221 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4474, allocations: 45.67 kB / 1.221 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.4474, allocations: 3.938 kB / 1.221 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4474, allocations: 0 / 1.221 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4474, allocations: 4 kB / 1.221 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.4475, allocations: 15.97 kB / 1.221 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.4483, allocations: 0.5989 MB / 1.222 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.418e-05/0.4484, allocations: 18.58 kB / 1.222 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.4484, allocations: 4.859 kB / 1.222 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.4486, allocations: 332.5 kB / 1.222 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4487, allocations: 38.5 kB / 1.222 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4487, allocations: 0 / 1.222 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.4488, allocations: 37.78 kB / 1.222 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.4489, allocations: 55.44 kB / 1.222 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.256e-05/0.4489, allocations: 97.86 kB / 1.222 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.449, allocations: 29.7 kB / 1.222 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.449, allocations: 88.03 kB / 1.222 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.449, allocations: 4 kB / 1.222 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.4491, allocations: 13.62 kB / 1.222 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4492, allocations: 322.8 kB / 1.223 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4492, allocations: 4 kB / 1.223 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.4492, allocations: 21.64 kB / 1.223 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.4493, allocations: 21.72 kB / 1.223 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4493, allocations: 0 / 1.223 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.517e-05/0.4494, allocations: 49.62 kB / 1.223 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4494, allocations: 8 kB / 1.223 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4494, allocations: 8.062 kB / 1.223 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4494, allocations: 0 / 1.223 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.4495, allocations: 4 kB / 1.223 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4495, allocations: 3.938 kB / 1.223 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.4495, allocations: 7.938 kB / 1.223 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4495, allocations: 3.984 kB / 1.223 GB, free: 6.453 MB / 0.9825 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.817e-05/0.4496, allocations: 113.8 kB / 1.223 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4496, allocations: 0 / 1.223 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.4498, allocations: 124.9 kB / 1.223 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/0.4498, allocations: 180.2 kB / 1.223 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-05/0.4499, allocations: 180.2 kB / 1.223 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/0.45, allocations: 188.1 kB / 1.224 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4502, allocations: 401.2 kB / 1.224 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/0.4503, allocations: 116.9 kB / 1.224 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.4503, allocations: 101 kB / 1.224 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/0.4504, allocations: 184.2 kB / 1.224 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.4504, allocations: 180.2 kB / 1.225 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.596e-05/0.4505, allocations: 180.4 kB / 1.225 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.813e-05/0.4505, allocations: 180.2 kB / 1.225 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4507, allocations: 323.6 kB / 1.225 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.4508, allocations: 178.1 kB / 1.225 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4509, allocations: 180.3 kB / 1.226 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.451, allocations: 108.9 kB / 1.226 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.4511, allocations: 180.3 kB / 1.226 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.4511, allocations: 112.9 kB / 1.226 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.4512, allocations: 83.28 kB / 1.226 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4512, allocations: 0 / 1.226 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003076/0.4515, allocations: 63.92 kB / 1.226 GB, free: 2.941 MB / 0.9825 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.0005277/0.452, allocations: 0.8755 MB / 1.227 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.4521, allocations: 15.92 kB / 1.227 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4521, allocations: 128 / 1.227 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.4521, allocations: 4 kB / 1.227 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.4525, allocations: 471.5 kB / 1.227 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4535, allocations: 1.348 MB / 1.229 GB, free: 120 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.4537, allocations: 0.6729 MB / 1.229 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.4538, allocations: 11.92 kB / 1.229 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4538, allocations: 15.44 kB / 1.229 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4538, allocations: 3.938 kB / 1.229 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.4897, allocations: 2.212 MB / 1.232 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.574, allocations: 3.938 kB / 1.232 GB, free: 13.27 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches