Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_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.00102/0.00102, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00798/0.00798, allocations: 169.4 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 443.4 MB / 0.7176 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 9.125 kB / 0.8797 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 155.2 MB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.003907/0.2126, allocations: 4.101 MB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2149, allocations: 2.675 MB / 1.038 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.215, allocations: 0 / 1.038 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2152, allocations: 35.8 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2154, allocations: 91.42 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.2161, allocations: 461.4 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.2164, allocations: 311.8 kB / 1.039 GB, free: 12.56 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.2164, allocations: 9.562 kB / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.2171, allocations: 391.1 kB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2172, allocations: 91.66 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.2173, allocations: 8 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.218, allocations: 0.4988 MB / 1.04 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.218, allocations: 35.89 kB / 1.04 GB, free: 11.53 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.2181, allocations: 109.3 kB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.2185, allocations: 347.1 kB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2186, allocations: 4 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2186, allocations: 0 / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.2186, allocations: 0 / 1.04 GB, free: 11.07 MB / 0.795 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.0005196/0.2191, allocations: 475.2 kB / 1.041 GB, free: 10.56 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.2191, allocations: 8.031 kB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.2192, allocations: 54.73 kB / 1.041 GB, free: 10.49 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2193, allocations: 24.75 kB / 1.041 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2195, allocations: 204.2 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2195, allocations: 12.7 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2195, allocations: 16.38 kB / 1.041 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2198, allocations: 248.8 kB / 1.041 GB, free: 9.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2198, allocations: 0 / 1.041 GB, free: 9.934 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2199, allocations: 15.98 kB / 1.041 GB, free: 9.918 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.2199, allocations: 8 kB / 1.041 GB, free: 9.91 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.2203, allocations: 427.5 kB / 1.042 GB, free: 9.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.2212, allocations: 1.011 MB / 1.043 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2214, allocations: 155.1 kB / 1.043 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.2215, allocations: 64.88 kB / 1.043 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.2226, allocations: 1.825 MB / 1.045 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2226, allocations: 42.56 kB / 1.045 GB, free: 5.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.123e-06/0.2226, allocations: 0 / 1.045 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0002575/0.2229, allocations: 151.1 kB / 1.045 GB, free: 5.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2229, allocations: 55.41 kB / 1.045 GB, free: 5.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.223, allocations: 179.2 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2231, allocations: 29.7 kB / 1.045 GB, free: 5.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.2231, allocations: 135.8 kB / 1.045 GB, free: 5.344 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.2232, allocations: 55.25 kB / 1.045 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.2232, allocations: 25.72 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.2233, allocations: 330.8 kB / 1.046 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.2233, allocations: 27.98 kB / 1.046 GB, free: 4.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2235, allocations: 145.6 kB / 1.046 GB, free: 4.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.2237, allocations: 200.6 kB / 1.046 GB, free: 4.465 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2237, allocations: 4 kB / 1.046 GB, free: 4.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002732/0.2239, allocations: 217.1 kB / 1.046 GB, free: 4.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.224, allocations: 8 kB / 1.046 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.224, allocations: 4 kB / 1.046 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.224, allocations: 7.938 kB / 1.046 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2241, allocations: 59.91 kB / 1.046 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2242, allocations: 7.984 kB / 1.046 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2243, allocations: 24.22 kB / 1.046 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2243, allocations: 16 kB / 1.046 GB, free: 4.117 MB / 0.795 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 8.468e-05/0.2244, allocations: 137.7 kB / 1.046 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.2244, allocations: 15.81 kB / 1.046 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.2247, allocations: 154.9 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.2247, allocations: 7.875 kB / 1.046 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2247, allocations: 0 / 1.046 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2247, allocations: 0 / 1.046 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2249, allocations: 217.5 kB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2249, allocations: 4 kB / 1.047 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.225, allocations: 23.98 kB / 1.047 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.225, allocations: 4 kB / 1.047 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.225, allocations: 4 kB / 1.047 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.225, allocations: 3.938 kB / 1.047 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.225, allocations: 0 / 1.047 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.2252, allocations: 225.9 kB / 1.047 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.2253, allocations: 104.9 kB / 1.047 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2253, allocations: 7.984 kB / 1.047 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2255, allocations: 27.83 kB / 1.047 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.2256, allocations: 7.984 kB / 1.047 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.2256, allocations: 12 kB / 1.047 GB, free: 3.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.199e-05/0.2257, allocations: 116.9 kB / 1.047 GB, free: 2.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2257, allocations: 0 / 1.047 GB, free: 2.973 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003269/0.226, allocations: 75.98 kB / 1.047 GB, free: 2.898 MB / 0.795 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.0005491/0.2266, allocations: 0.8293 MB / 1.048 GB, free: 2.043 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.2268, allocations: 125.3 kB / 1.048 GB, free: 1.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2268, allocations: 4 kB / 1.048 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.2268, allocations: 43.92 kB / 1.048 GB, free: 1.875 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2272, allocations: 52.52 kB / 1.048 GB, free: 1.824 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.229, allocations: 2.106 MB / 1.05 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2292, allocations: 0.7131 MB / 1.051 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.2293, allocations: 49.67 kB / 1.051 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.2294, allocations: 47.42 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2294, allocations: 4 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.223/2.452, allocations: 4.857 MB / 1.056 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/2.452, allocations: 211.2 kB / 1.056 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/5.015, allocations: 2.109 kB / 1.056 GB, free: 9.766 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches