Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.006087/0.006087, allocations: 102 kB / 15.73 MB, free: 6.035 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.001075/0.001075, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 58.59 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2778, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006019/0.2838, allocations: 4.427 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2867, allocations: 2.687 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2868, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.2871, allocations: 51.62 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.2874, allocations: 91.34 kB / 1.095 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2887, allocations: 0.4951 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.289, allocations: 235.9 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2891, allocations: 9.547 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.29, allocations: 418.9 kB / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2901, allocations: 95.58 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2902, allocations: 8 kB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.2912, allocations: 489.9 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.2912, allocations: 31.91 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.2913, allocations: 79.64 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.292, allocations: 359.9 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.292, allocations: 0 / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.292, allocations: 0 / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.292, allocations: 4 kB / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007301/0.2928, allocations: 0.4914 MB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2928, allocations: 12.03 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.2929, allocations: 46.73 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2931, allocations: 24.73 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2933, allocations: 216 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2933, allocations: 12.7 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2934, allocations: 20.36 kB / 1.098 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.2937, allocations: 252.8 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2938, allocations: 0 / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2938, allocations: 8 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.2938, allocations: 11.98 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.2943, allocations: 423.5 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2953, allocations: 1.008 MB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.2956, allocations: 160.5 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2957, allocations: 68.88 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.297, allocations: 1.821 MB / 1.101 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.297, allocations: 38.5 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.297, allocations: 7.938 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003245/0.2974, allocations: 151.5 kB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.2974, allocations: 51.41 kB / 1.101 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2976, allocations: 175.2 kB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2976, allocations: 25.7 kB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.2977, allocations: 139.8 kB / 1.102 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2977, allocations: 55.22 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.2978, allocations: 57.61 kB / 1.102 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.2979, allocations: 334.8 kB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.298, allocations: 35.98 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2981, allocations: 143.2 kB / 1.102 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.2983, allocations: 193.5 kB / 1.103 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2983, allocations: 4 kB / 1.103 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000314/0.2986, allocations: 216 kB / 1.103 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2987, allocations: 8.469 kB / 1.103 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2987, allocations: 8 kB / 1.103 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2987, allocations: 7.938 kB / 1.103 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2989, allocations: 55.91 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2989, allocations: 4 kB / 1.103 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.299, allocations: 23.75 kB / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.299, allocations: 16 kB / 1.103 GB, free: 1.504 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001015/0.2991, allocations: 129.7 kB / 1.103 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2992, allocations: 11.91 kB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.2995, allocations: 166.8 kB / 1.103 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2995, allocations: 7.938 kB / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2995, allocations: 0 / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2995, allocations: 0 / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.2998, allocations: 217.5 kB / 1.103 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2998, allocations: 3.938 kB / 1.103 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.2999, allocations: 24 kB / 1.103 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2999, allocations: 3.984 kB / 1.103 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2999, allocations: 4 kB / 1.103 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2999, allocations: 3.938 kB / 1.103 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2999, allocations: 0 / 1.103 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3001, allocations: 219.3 kB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.3002, allocations: 108.8 kB / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.3003, allocations: 8 kB / 1.104 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3005, allocations: 19.91 kB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.3005, allocations: 12 kB / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3006, allocations: 11.98 kB / 1.104 GB, free: 488 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.3006, allocations: 120.9 kB / 1.104 GB, free: 368 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3006, allocations: 4 kB / 1.104 GB, free: 364 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003871/0.301, allocations: 79.98 kB / 1.104 GB, free: 284 kB / 0.8575 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007504/0.3018, allocations: 0.8368 MB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3021, allocations: 119.7 kB / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3021, allocations: 0 / 1.105 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.3021, allocations: 47.92 kB / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.3026, allocations: 54.39 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.3048, allocations: 2.031 MB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.305, allocations: 0.7129 MB / 1.108 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.3052, allocations: 49.73 kB / 1.108 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3053, allocations: 47.42 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.3053, allocations: 4 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2763/0.5816, allocations: 5.172 MB / 1.113 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.629, allocations: 4.594 kB / 1.113 GB, free: 7.109 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches