Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.007843/0.007843, allocations: 100.9 kB / 15.73 MB, free: 6 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.002066/0.002067, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005301/0.2866, allocations: 3.724 MB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.2868, allocations: 163.5 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.2869, allocations: 4 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.287, allocations: 3.938 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.287, allocations: 15.91 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2874, allocations: 75.75 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.2874, allocations: 31.86 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.2875, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.2875, allocations: 19.92 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.2876, allocations: 15.98 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2876, allocations: 0 / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.2881, allocations: 187.4 kB / 1.246 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.2882, allocations: 11.98 kB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.2882, allocations: 7.938 kB / 1.246 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2884, allocations: 43.89 kB / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2884, allocations: 0 / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2884, allocations: 0 / 1.246 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2884, allocations: 0 / 1.246 GB, free: 5.91 MB / 0.9981 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.0003897/0.2888, allocations: 343.4 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2888, allocations: 15.97 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.2889, allocations: 30.75 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2889, allocations: 0.9375 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.289, allocations: 164.4 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.2891, allocations: 26.27 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2891, allocations: 4.125 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2892, allocations: 45.69 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2892, allocations: 0 / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2893, allocations: 11.92 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2893, allocations: 3.984 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.2893, allocations: 15.94 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.2898, allocations: 338 kB / 1.247 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.2898, allocations: 18.58 kB / 1.247 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.2898, allocations: 4.859 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.2899, allocations: 89.16 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.29, allocations: 30.56 kB / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.29, allocations: 4 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.2901, allocations: 37.64 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2902, allocations: 55.39 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.2903, allocations: 101.8 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2903, allocations: 25.7 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.2904, allocations: 96.16 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.2904, allocations: 3.984 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2904, allocations: 17.67 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2905, allocations: 322.8 kB / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.2906, allocations: 0 / 1.247 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.2906, allocations: 17.7 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.2906, allocations: 29.66 kB / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2906, allocations: 0 / 1.247 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.161e-05/0.2907, allocations: 45.69 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2908, allocations: 4 kB / 1.247 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2908, allocations: 4 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2908, allocations: 3.938 kB / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.2908, allocations: 4 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.2908, allocations: 0 / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.2909, allocations: 8 kB / 1.247 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2909, allocations: 8 kB / 1.247 GB, free: 3.734 MB / 0.9981 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.76e-05/0.291, allocations: 113.8 kB / 1.248 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.291, allocations: 4 kB / 1.248 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.2911, allocations: 117 kB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.189e-05/0.2912, allocations: 180.2 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.299e-05/0.2913, allocations: 184.2 kB / 1.248 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.529e-05/0.2914, allocations: 180.2 kB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.2916, allocations: 409.2 kB / 1.249 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/0.2917, allocations: 101 kB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.2917, allocations: 108.9 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/0.2918, allocations: 176.3 kB / 1.249 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.2919, allocations: 188.2 kB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/0.292, allocations: 180.2 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.758e-05/0.2921, allocations: 184.2 kB / 1.249 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2922, allocations: 315.7 kB / 1.25 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.2923, allocations: 190 kB / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.2924, allocations: 176.3 kB / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2926, allocations: 108.9 kB / 1.25 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.2927, allocations: 180.2 kB / 1.25 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.2927, allocations: 105 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.329e-05/0.2928, allocations: 83.28 kB / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2928, allocations: 0 / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002509/0.293, allocations: 23.88 kB / 1.251 GB, free: 284 kB / 0.9981 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.4796/0.7726, allocations: 0.8263 MB / 1.251 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.7728, allocations: 10.67 kB / 1.251 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7728, allocations: 0 / 1.251 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.7728, allocations: 2.5 kB / 1.251 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.7731, allocations: 462.9 kB / 1.252 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.7738, allocations: 1.316 MB / 1.253 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.7738, allocations: 0.675 MB / 1.254 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.7739, allocations: 9.156 kB / 1.254 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.7739, allocations: 10.12 kB / 1.254 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.7739, allocations: 1.031 kB / 1.254 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.7952, allocations: 1.531 MB / 1.255 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/8.317, allocations: 17.11 kB / 1.255 GB, free: 12.59 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches