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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001922/0.001922, allocations: 195 kB / 16.14 MB, free: 6.645 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.521, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004697/0.5258, allocations: 4.057 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.526, allocations: 159.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.526, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.102e-05/0.5261, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.5261, allocations: 11.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.5264, allocations: 79.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.5265, allocations: 55.83 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.5265, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.5266, allocations: 23.91 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.5266, allocations: 11.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5266, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.5268, allocations: 83.72 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.5269, allocations: 7.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.5269, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.527, allocations: 46.08 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.527, allocations: 8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.62e-07/0.527, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.5271, allocations: 0 / 1.021 GB, free: 14.22 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.0003204/0.5274, allocations: 331.5 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5274, allocations: 15.98 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.5275, allocations: 34.75 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.5275, allocations: 0.9375 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.5276, allocations: 164.3 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.5277, allocations: 34.27 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.5277, allocations: 4.125 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.5278, allocations: 45.67 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.5278, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.5278, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.5279, allocations: 3.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.5279, allocations: 15.94 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.5283, allocations: 334 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 2.886e-05/0.5283, allocations: 22.58 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.5283, allocations: 12.84 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.5284, allocations: 81.17 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.5284, allocations: 30.56 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.956e-06/0.5285, allocations: 4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.5286, allocations: 37.62 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5286, allocations: 55.53 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.5287, allocations: 101.9 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5287, allocations: 29.64 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.5287, allocations: 88.03 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.5288, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.5288, allocations: 17.72 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5289, allocations: 318.8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.529, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.529, allocations: 25.7 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.529, allocations: 21.66 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.529, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.504e-05/0.5291, allocations: 53.53 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5291, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5291, allocations: 7.938 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.5291, allocations: 4.062 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.5292, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5292, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.5292, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5292, allocations: 11.98 kB / 1.023 GB, free: 12.05 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 5.868e-05/0.5293, allocations: 110.3 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.5293, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.309e-05/0.5294, allocations: 116.9 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/0.5295, allocations: 188.2 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.735e-05/0.5295, allocations: 180.3 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.5296, allocations: 180.5 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.5298, allocations: 409.2 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-05/0.5299, allocations: 104.9 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.5299, allocations: 109 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-05/0.53, allocations: 176.3 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.53, allocations: 188.2 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.453e-05/0.5301, allocations: 176.3 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-05/0.5301, allocations: 184.2 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5302, allocations: 311.7 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.5303, allocations: 186 kB / 1.025 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.5304, allocations: 180.3 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.5306, allocations: 108.9 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.5306, allocations: 184.2 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.5307, allocations: 112.9 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.5307, allocations: 87.22 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5307, allocations: 0 / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000228/0.5309, allocations: 19.94 kB / 1.026 GB, free: 8.586 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.0004258/0.5314, allocations: 0.8283 MB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.131e-05/0.5314, allocations: 11.94 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5315, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.5315, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.5319, allocations: 0.5287 MB / 1.027 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.5327, allocations: 1.315 MB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.533, allocations: 0.6731 MB / 1.029 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.533, allocations: 19.78 kB / 1.029 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.533, allocations: 15.38 kB / 1.029 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.533, allocations: 0 / 1.029 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09399/0.627, allocations: 1.358 MB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.6272, allocations: 213.2 kB / 1.031 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.566, allocations: 0 / 1.031 GB, free: 3.535 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