Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.004796/0.004796, allocations: 102 kB / 15.73 MB, free: 5.551 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.001358/0.001358, allocations: 195.4 kB / 16.67 MB, free: 5.477 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.278/1.278, 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 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 71.83 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6188/0.6205, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005342/0.6259, allocations: 4.023 MB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.6261, allocations: 155.5 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.6261, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.6262, allocations: 3.938 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.6263, allocations: 15.91 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.6266, allocations: 75.75 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.6267, allocations: 39.8 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.6267, allocations: 0 / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.6268, allocations: 23.92 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.6268, allocations: 7.984 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.6269, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.627, allocations: 63.8 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.6271, allocations: 3.938 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.6271, allocations: 15.98 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.6273, allocations: 36.88 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6273, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6273, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6273, allocations: 0 / 1.224 GB, free: 13.57 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.0003704/0.6277, allocations: 338.1 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6277, allocations: 8.031 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.6278, allocations: 38.69 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.6278, allocations: 8.938 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.6279, allocations: 164.3 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.628, allocations: 30.25 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.628, allocations: 8.125 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.6281, allocations: 41.69 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6281, allocations: 4 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6282, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.6282, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.6282, allocations: 15.98 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6287, allocations: 334 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.593e-05/0.6287, allocations: 18.58 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.6287, allocations: 12.86 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.6288, allocations: 89.17 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.6289, allocations: 30.56 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6289, allocations: 0 / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.629, allocations: 37.62 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.629, allocations: 55.41 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.6291, allocations: 105.8 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6292, allocations: 25.83 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.6292, allocations: 96.08 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.6292, allocations: 7.891 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.6293, allocations: 17.72 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6294, allocations: 318.8 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.6294, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.6295, allocations: 17.72 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.6295, allocations: 21.66 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6295, allocations: 0 / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.791e-05/0.6296, allocations: 45.69 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6296, allocations: 10.19 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6296, allocations: 3.938 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.6296, allocations: 0 / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.6297, allocations: 11.92 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6297, allocations: 4 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.6297, allocations: 8 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.6297, allocations: 4 kB / 1.226 GB, free: 11.39 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 7.381e-05/0.6298, allocations: 113.8 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.6298, allocations: 0 / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.63, allocations: 117 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.756e-05/0.63, allocations: 184.2 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/0.6301, allocations: 180.3 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.416e-05/0.6302, allocations: 184.2 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.6305, allocations: 405.2 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/0.6305, allocations: 105 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.6306, allocations: 112.9 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.6306, allocations: 176.3 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.6307, allocations: 184.2 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.629e-05/0.6308, allocations: 180.3 kB / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.549e-05/0.6309, allocations: 180.3 kB / 1.228 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.631, allocations: 315.6 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.6311, allocations: 186 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.6312, allocations: 184.3 kB / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.6314, allocations: 105 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.6315, allocations: 184.2 kB / 1.229 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.6315, allocations: 101 kB / 1.229 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.6316, allocations: 87.27 kB / 1.229 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.844e-06/0.6316, allocations: 4 kB / 1.229 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002182/0.6318, allocations: 23.81 kB / 1.229 GB, free: 7.938 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.0005262/0.6323, allocations: 0.8287 MB / 1.23 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.6324, allocations: 8 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6324, allocations: 0 / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.6324, allocations: 3.938 kB / 1.23 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.6328, allocations: 463.7 kB / 1.231 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.6338, allocations: 1.321 MB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.6341, allocations: 0.6768 MB / 1.233 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.6342, allocations: 7.938 kB / 1.233 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.6342, allocations: 11.38 kB / 1.233 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6342, allocations: 0 / 1.233 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5026/1.137, allocations: 1.504 MB / 1.234 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.95, allocations: 14.08 kB / 1.234 GB, free: 3.066 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches