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.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.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.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001191, allocations: 62.83 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2345, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004976/0.2395, allocations: 4.448 MB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2419, allocations: 2.675 MB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.2419, allocations: 0 / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2421, allocations: 47.67 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2423, allocations: 95.36 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.2432, allocations: 0.4891 MB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.2435, allocations: 235.9 kB / 1.061 GB, free: 332 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.2435, allocations: 9.562 kB / 1.061 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.2444, allocations: 418.8 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2445, allocations: 87.66 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2445, allocations: 8 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.2453, allocations: 499.3 kB / 1.062 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.2454, allocations: 31.89 kB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.2455, allocations: 79.66 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.246, allocations: 347.1 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.246, allocations: 4 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.246, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.246, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 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.0006701/0.2467, allocations: 0.507 MB / 1.063 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2467, allocations: 8.625 kB / 1.063 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.2468, allocations: 54.67 kB / 1.063 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.247, allocations: 24.75 kB / 1.063 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2471, allocations: 208.1 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2472, allocations: 8.703 kB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.2472, allocations: 24.38 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.2475, allocations: 244.9 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2476, allocations: 3.938 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.2476, allocations: 8 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.2476, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.2481, allocations: 439.5 kB / 1.064 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.249, allocations: 1.004 MB / 1.065 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2493, allocations: 155 kB / 1.065 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.2494, allocations: 66.19 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.2506, allocations: 1.821 MB / 1.067 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2506, allocations: 38.56 kB / 1.067 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2506, allocations: 0 / 1.067 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0002841/0.2509, allocations: 155.2 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2509, allocations: 55.41 kB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2511, allocations: 168 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2511, allocations: 33.7 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.2512, allocations: 139.8 kB / 1.067 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2512, allocations: 51.27 kB / 1.067 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2513, allocations: 53.61 kB / 1.067 GB, free: 9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2514, allocations: 326.8 kB / 1.068 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.2515, allocations: 35.97 kB / 1.068 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2516, allocations: 138.2 kB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2518, allocations: 203.2 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2518, allocations: 0 / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002876/0.2521, allocations: 213.5 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2521, allocations: 4 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2521, allocations: 4 kB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2522, allocations: 15.88 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2523, allocations: 51.92 kB / 1.068 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2523, allocations: 15.91 kB / 1.068 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.2524, allocations: 31.67 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.2525, allocations: 12 kB / 1.068 GB, free: 7.859 MB / 0.8262 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 9.915e-05/0.2526, allocations: 137.9 kB / 1.068 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.2526, allocations: 19.81 kB / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.2529, allocations: 161.5 kB / 1.069 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.2529, allocations: 3.938 kB / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2529, allocations: 0 / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2529, allocations: 0 / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2531, allocations: 221.5 kB / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2531, allocations: 0 / 1.069 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.2532, allocations: 19.98 kB / 1.069 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2532, allocations: 8 kB / 1.069 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.2532, allocations: 4 kB / 1.069 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2532, allocations: 3.938 kB / 1.069 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2533, allocations: 7.922 kB / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.2535, allocations: 219.3 kB / 1.069 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.2536, allocations: 112.8 kB / 1.069 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2536, allocations: 0 / 1.069 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2538, allocations: 19.92 kB / 1.069 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.2538, allocations: 11.98 kB / 1.069 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2538, allocations: 15.98 kB / 1.069 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.2539, allocations: 120 kB / 1.069 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2539, allocations: 0 / 1.069 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003447/0.2543, allocations: 72 kB / 1.069 GB, free: 6.629 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 (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.0006258/0.2549, allocations: 0.8318 MB / 1.07 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2551, allocations: 127.7 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2551, allocations: 0.9375 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.2552, allocations: 43.92 kB / 1.07 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2556, allocations: 61.3 kB / 1.07 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2575, allocations: 2.028 MB / 1.072 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.2577, allocations: 0.7128 MB / 1.073 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.2579, allocations: 45.69 kB / 1.073 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.2579, allocations: 47.42 kB / 1.073 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2579, allocations: 0 / 1.073 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/0.6248, allocations: 5.124 MB / 1.078 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/9.582, allocations: 13.27 kB / 1.078 GB, free: 13.5 MB / 0.8419 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