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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001789/0.001788, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001925/0.001925, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.66/2.66, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.724/3.724, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.67 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 157.4 MB / 1.052 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00534/0.2882, allocations: 3.788 MB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.2884, allocations: 151.5 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.2884, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2885, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.2886, allocations: 7.922 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.289, allocations: 86.52 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2891, allocations: 39.84 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.2891, allocations: 3.984 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.2892, allocations: 15.92 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.2893, allocations: 11.98 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2893, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.2898, allocations: 187.5 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.2899, allocations: 4 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2899, allocations: 11.92 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.29, allocations: 48.17 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2901, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2901, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2901, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 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.0003605/0.2904, allocations: 335.5 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2905, allocations: 8.625 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.2905, allocations: 42.69 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.2906, allocations: 0.9375 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2907, allocations: 176.2 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.2907, allocations: 30.27 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2908, allocations: 8.125 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2909, allocations: 41.67 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.2909, allocations: 11.98 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.291, allocations: 11.98 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.2914, allocations: 338 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.2915, allocations: 18.52 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.2915, allocations: 12.86 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.2916, allocations: 85.09 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2916, allocations: 34.56 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2916, allocations: 0 / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.2917, allocations: 41.64 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2918, allocations: 51.41 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.2919, allocations: 101.8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2919, allocations: 29.7 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.2919, allocations: 84.05 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.2919, allocations: 3.906 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.292, allocations: 21.7 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.2921, allocations: 318.9 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.2921, allocations: 4 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.2921, allocations: 17.72 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.2921, allocations: 21.7 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2922, allocations: 0 / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.159e-05/0.2922, allocations: 49.62 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2923, allocations: 8.062 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2923, allocations: 0 / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2923, allocations: 4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.2923, allocations: 4 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2923, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.2924, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2924, allocations: 7.938 kB / 1.058 GB, free: 2.168 MB / 0.8106 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.696e-05/0.2924, allocations: 117.7 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.2925, allocations: 4 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.2926, allocations: 120.9 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/0.2926, allocations: 184.2 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.76e-05/0.2927, allocations: 180.3 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-05/0.2927, allocations: 180.2 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2929, allocations: 413.1 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/0.293, allocations: 105 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.293, allocations: 104.9 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.938e-05/0.2931, allocations: 180.3 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.2931, allocations: 176.3 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-05/0.2932, allocations: 180.2 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.732e-05/0.2933, allocations: 188.2 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.2934, allocations: 307.7 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.2935, allocations: 182.1 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.2935, allocations: 188.2 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2937, allocations: 105 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2937, allocations: 188.2 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.2938, allocations: 104.9 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.2938, allocations: 87.27 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2938, allocations: 0 / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.2941, allocations: 23.88 kB / 1.062 GB, free: 14.7 MB / 0.8262 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.000447/0.2945, allocations: 0.8246 MB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.2946, allocations: 16 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2946, allocations: 0 / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.2946, allocations: 4 kB / 1.062 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.295, allocations: 463.8 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.2959, allocations: 1.317 MB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.2961, allocations: 0.6772 MB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.155e-05/0.2961, allocations: 8 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.2961, allocations: 11.44 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2962, allocations: 3.938 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/1.613, allocations: 1.417 MB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004364/1.614, allocations: 237.8 kB / 1.066 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/5.586, allocations: 2.25 kB / 1.066 GB, free: 9.746 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/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