Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.001528/0.001528, 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.001739/0.001739, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.525/2.525, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.632, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005615/0.6376, allocations: 4.01 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002/0.6378, allocations: 155.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.6379, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.638, allocations: 11.92 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.6381, allocations: 7.922 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.6385, allocations: 83.44 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.6386, allocations: 43.84 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.6386, allocations: 3.984 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.6387, allocations: 8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.6388, allocations: 19.97 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.6388, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.639, allocations: 59.75 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.6391, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.6391, allocations: 4 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.6392, allocations: 50.08 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6393, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6393, allocations: 7.938 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6393, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 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.0003691/0.6397, allocations: 339.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6397, allocations: 12.03 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.6397, allocations: 30.75 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.6398, allocations: 0.9375 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6399, allocations: 164.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.64, allocations: 26.27 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.64, allocations: 8.125 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.6401, allocations: 49.67 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6401, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6401, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.6402, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.6402, allocations: 15.94 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.6406, allocations: 337.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.321e-05/0.6407, allocations: 22.58 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.6407, allocations: 8.844 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.932e-05/0.6408, allocations: 81.17 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.6408, allocations: 34.56 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.043e-06/0.6408, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.641, allocations: 41.62 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.641, allocations: 51.41 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.6411, allocations: 106 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.6411, allocations: 29.64 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.6411, allocations: 92.03 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.6411, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.6412, allocations: 13.72 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.6413, allocations: 322.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.6413, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.6413, allocations: 21.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.6414, allocations: 25.66 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6414, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.262e-05/0.6415, allocations: 53.53 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6415, allocations: 4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6415, allocations: 4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6415, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.6416, allocations: 12.06 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.6416, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.6416, allocations: 7.938 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.6416, allocations: 3.984 kB / 1.024 GB, free: 11.8 MB / 0.7794 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.118e-05/0.6417, allocations: 109.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.6417, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.6419, allocations: 124.9 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.599e-05/0.6419, allocations: 188.3 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/0.642, allocations: 176.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/0.6421, allocations: 180.2 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6423, allocations: 409.2 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/0.6423, allocations: 104.9 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.6424, allocations: 105 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-05/0.6425, allocations: 180.3 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.6425, allocations: 192.2 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.018e-05/0.6426, allocations: 176.3 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.314e-05/0.6427, allocations: 184.2 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.6428, allocations: 311.7 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.6429, allocations: 182.1 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.643, allocations: 176.3 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.6432, allocations: 108.9 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.6432, allocations: 180.2 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.6433, allocations: 112.9 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.6433, allocations: 87.22 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6433, allocations: 0 / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002545/0.6436, allocations: 15.94 kB / 1.027 GB, free: 8.344 MB / 0.7794 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.0004937/0.6441, allocations: 0.8321 MB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.6442, allocations: 11.94 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6442, allocations: 0 / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.6442, allocations: 0 / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.6446, allocations: 461.4 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.6455, allocations: 1.325 MB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.6457, allocations: 0.669 MB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.6458, allocations: 15.84 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.6458, allocations: 11.44 kB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6458, allocations: 0 / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/0.8988, allocations: 1.484 MB / 1.031 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.97, allocations: 6.188 kB / 1.031 GB, free: 3.477 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches