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.007422/0.007422, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001637/0.001637, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.606/2.606, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2653, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005412/0.2708, allocations: 4.028 MB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.271, allocations: 155.5 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.271, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.2711, allocations: 3.938 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.2712, allocations: 11.91 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.2715, allocations: 87.69 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.2716, allocations: 35.84 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.2717, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.2717, allocations: 19.92 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.2718, allocations: 11.98 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2718, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.272, allocations: 59.81 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.272, allocations: 3.984 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.2721, allocations: 7.938 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2722, allocations: 44.17 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2722, allocations: 4 kB / 1.171 GB, free: 2.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.786e-06/0.2722, allocations: 0 / 1.171 GB, free: 2.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2722, allocations: 3.938 kB / 1.171 GB, free: 2.855 MB / 0.92 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.0003406/0.2726, allocations: 331.5 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2726, allocations: 15.97 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.2726, allocations: 30.75 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.2727, allocations: 4.938 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2728, allocations: 168.4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.2728, allocations: 30.27 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.2729, allocations: 4.125 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.273, allocations: 45.67 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.273, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.273, allocations: 3.938 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.273, allocations: 0 / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.2731, allocations: 23.92 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.2735, allocations: 334 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.2735, allocations: 22.58 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.2735, allocations: 4.859 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/0.2736, allocations: 85.16 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2737, allocations: 42.55 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2737, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.2738, allocations: 33.64 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2738, allocations: 55.53 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.2739, allocations: 105.8 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2739, allocations: 25.7 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.274, allocations: 88.03 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-06/0.274, allocations: 4 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.274, allocations: 17.67 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.2741, allocations: 322.8 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.2741, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.2742, allocations: 21.72 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.2742, allocations: 21.66 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2742, allocations: 3.984 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.119e-05/0.2743, allocations: 41.7 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2743, allocations: 10.03 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2743, allocations: 0 / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2743, allocations: 12 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.2744, allocations: 11.92 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2744, allocations: 0 / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.2744, allocations: 4 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2744, allocations: 0 / 1.172 GB, free: 0.6875 MB / 0.92 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.594e-05/0.2745, allocations: 117.8 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.2745, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.2746, allocations: 117 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/0.2747, allocations: 184.2 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-05/0.2747, allocations: 180.3 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-05/0.2748, allocations: 188.2 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.275, allocations: 401.2 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.275, allocations: 109 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.2751, allocations: 112.9 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.877e-05/0.2751, allocations: 176.3 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.2752, allocations: 180.2 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.291e-05/0.2753, allocations: 180.3 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.2753, allocations: 180.2 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.2754, allocations: 319.6 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.2755, allocations: 182 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.2756, allocations: 180.3 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.2757, allocations: 105 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.2758, allocations: 184.2 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2758, allocations: 109 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.2759, allocations: 83.27 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2759, allocations: 0 / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002431/0.2761, allocations: 19.88 kB / 1.176 GB, free: 13.23 MB / 0.9356 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.0004496/0.2766, allocations: 0.8321 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.2767, allocations: 15.98 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2767, allocations: 0 / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.2767, allocations: 3.938 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.277, allocations: 459.8 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.278, allocations: 1.325 MB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2782, allocations: 0.6729 MB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.2782, allocations: 8 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.2783, allocations: 11.44 kB / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2783, allocations: 0 / 1.179 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.2937, allocations: 1.506 MB / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.555, allocations: 16.11 kB / 1.18 GB, free: 8.348 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/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