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.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001208/0.001208, allocations: 191 kB / 16.25 MB, free: 6.625 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.496/2.496, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.03/4.03, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 66.98 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2543, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004673/0.259, allocations: 4.473 MB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2612, allocations: 2.675 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.2613, allocations: 0 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.2615, allocations: 35.81 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.2618, allocations: 95.41 kB / 1.06 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009591/0.2627, allocations: 457.2 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.263, allocations: 239.9 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.263, allocations: 9.562 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.2637, allocations: 414.8 kB / 1.061 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2638, allocations: 91.66 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2639, allocations: 8 kB / 1.061 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.2647, allocations: 0.4915 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.2647, allocations: 39.83 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.2648, allocations: 79.66 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.2653, allocations: 347.1 kB / 1.062 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2653, allocations: 3.938 kB / 1.062 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2653, allocations: 4 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2653, allocations: 0 / 1.062 GB, free: 15.23 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.0006215/0.2659, allocations: 0.5031 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.266, allocations: 8.625 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.266, allocations: 54.73 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.2662, allocations: 24.73 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2664, allocations: 208.1 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2664, allocations: 12.7 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.2664, allocations: 12.38 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.2667, allocations: 256.8 kB / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2668, allocations: 0 / 1.063 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2668, allocations: 8 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.2668, allocations: 7.984 kB / 1.063 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.2672, allocations: 431.5 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.2681, allocations: 1.011 MB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.2684, allocations: 159 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.2685, allocations: 64.88 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.2695, allocations: 1.821 MB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2696, allocations: 38.56 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.2696, allocations: 0 / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0002866/0.2699, allocations: 151.7 kB / 1.066 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2699, allocations: 59.41 kB / 1.066 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.27, allocations: 172 kB / 1.066 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2701, allocations: 33.7 kB / 1.066 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.2701, allocations: 135.8 kB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2702, allocations: 55.25 kB / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.2702, allocations: 49.61 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.2703, allocations: 330.8 kB / 1.067 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.2704, allocations: 35.98 kB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2705, allocations: 150.1 kB / 1.067 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2707, allocations: 193.5 kB / 1.067 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2707, allocations: 0 / 1.067 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000274/0.271, allocations: 211.5 kB / 1.068 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.271, allocations: 8 kB / 1.068 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.271, allocations: 4 kB / 1.068 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.271, allocations: 12.34 kB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2712, allocations: 63.84 kB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2712, allocations: 4 kB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2713, allocations: 31.69 kB / 1.068 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.2713, allocations: 8 kB / 1.068 GB, free: 8.219 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 8.977e-05/0.2714, allocations: 137.7 kB / 1.068 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.2715, allocations: 19.8 kB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.2717, allocations: 150.9 kB / 1.068 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.2718, allocations: 11.94 kB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2718, allocations: 0 / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-06/0.2718, allocations: 0 / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.272, allocations: 217.5 kB / 1.068 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.272, allocations: 0 / 1.068 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.2721, allocations: 23.98 kB / 1.068 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2721, allocations: 0 / 1.068 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2721, allocations: 4 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2721, allocations: 7.938 kB / 1.068 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2721, allocations: 0 / 1.068 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.2723, allocations: 223.2 kB / 1.068 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.2724, allocations: 104.9 kB / 1.069 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2724, allocations: 3.984 kB / 1.069 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2726, allocations: 27.92 kB / 1.069 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.2727, allocations: 7.984 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2727, allocations: 12 kB / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.2727, allocations: 112 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 4 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003498/0.2731, allocations: 83.89 kB / 1.069 GB, free: 6.992 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.000603/0.2737, allocations: 0.8317 MB / 1.07 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.2739, allocations: 127.7 kB / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2739, allocations: 0 / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.274, allocations: 47.91 kB / 1.07 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.2744, allocations: 59.73 kB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2766, allocations: 2.073 MB / 1.072 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.277, allocations: 0.7168 MB / 1.073 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.2773, allocations: 49.67 kB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.2774, allocations: 47.42 kB / 1.073 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.2774, allocations: 0 / 1.073 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.352/1.629, allocations: 5.019 MB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/1.63, allocations: 218.6 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.84/6.469, allocations: 0 / 1.078 GB, free: 13.7 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