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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.0015, allocations: 107.1 kB / 15.99 MB, free: 6.359 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.001691/0.001691, allocations: 192.6 kB / 16.91 MB, free: 6.195 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.84 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3251, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006445/0.3316, allocations: 4.462 MB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3344, allocations: 2.679 MB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3346, allocations: 0 / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3349, allocations: 39.8 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3353, allocations: 87.48 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3366, allocations: 465.7 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3369, allocations: 239.9 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.337, allocations: 9.562 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000964/0.3379, allocations: 409.1 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3381, allocations: 95.59 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3381, allocations: 8 kB / 1.072 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009753/0.3391, allocations: 495 kB / 1.072 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.3392, allocations: 39.89 kB / 1.072 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.3393, allocations: 79.64 kB / 1.073 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.3397, allocations: 243.7 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3398, allocations: 3.938 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3398, allocations: 0 / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3398, allocations: 0 / 1.073 GB, free: 6.066 MB / 0.8419 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.0007506/0.3405, allocations: 0.4992 MB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3406, allocations: 12.62 kB / 1.073 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3408, allocations: 20.75 kB / 1.073 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.341, allocations: 216.1 kB / 1.074 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.341, allocations: 12.7 kB / 1.074 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.341, allocations: 12.38 kB / 1.074 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.3414, allocations: 253 kB / 1.074 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3414, allocations: 0 / 1.074 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.3415, allocations: 12 kB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.3415, allocations: 4 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.3419, allocations: 427.5 kB / 1.074 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.343, allocations: 1.008 MB / 1.075 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.3433, allocations: 155 kB / 1.075 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3434, allocations: 68.88 kB / 1.075 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.3447, allocations: 1.825 MB / 1.077 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3447, allocations: 38.55 kB / 1.077 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.3447, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003231/0.3451, allocations: 145.4 kB / 1.077 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3451, allocations: 63.34 kB / 1.077 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3452, allocations: 167.3 kB / 1.078 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3453, allocations: 33.7 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.3454, allocations: 147.8 kB / 1.078 GB, free: 368 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3454, allocations: 43.27 kB / 1.078 GB, free: 324 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.3455, allocations: 57.61 kB / 1.078 GB, free: 260 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.5465/0.892, allocations: 322.8 kB / 1.078 GB, free: 23.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.8921, allocations: 31.31 kB / 1.078 GB, free: 23.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.8923, allocations: 140.2 kB / 1.078 GB, free: 23.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.8925, allocations: 203 kB / 1.079 GB, free: 22.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.8925, allocations: 1.062 kB / 1.079 GB, free: 22.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003638/0.8929, allocations: 212.9 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8929, allocations: 11.14 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8929, allocations: 3.062 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.8929, allocations: 6.203 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.8931, allocations: 57.53 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.8932, allocations: 9.141 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.8933, allocations: 26.48 kB / 1.079 GB, free: 22.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.8933, allocations: 14.78 kB / 1.079 GB, free: 22.85 MB / 0.8419 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.763e-05/0.8934, allocations: 137.5 kB / 1.079 GB, free: 22.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.8935, allocations: 17.12 kB / 1.079 GB, free: 22.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.8938, allocations: 163.7 kB / 1.079 GB, free: 22.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.8938, allocations: 7.047 kB / 1.079 GB, free: 22.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8938, allocations: 0 / 1.079 GB, free: 22.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.8938, allocations: 1.172 kB / 1.079 GB, free: 22.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.8941, allocations: 216.6 kB / 1.079 GB, free: 22.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8941, allocations: 0 / 1.079 GB, free: 22.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/0.8942, allocations: 30.58 kB / 1.079 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8942, allocations: 1.344 kB / 1.079 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.8942, allocations: 5.234 kB / 1.079 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8942, allocations: 5.094 kB / 1.079 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8942, allocations: 0.5625 kB / 1.079 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.8944, allocations: 217.8 kB / 1.08 GB, free: 22.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.8945, allocations: 105.3 kB / 1.08 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.8945, allocations: 5.016 kB / 1.08 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.8947, allocations: 20.36 kB / 1.08 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.8948, allocations: 8.812 kB / 1.08 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.8948, allocations: 11.31 kB / 1.08 GB, free: 22.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.8949, allocations: 120.8 kB / 1.08 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8949, allocations: 0 / 1.08 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003932/0.8953, allocations: 77.45 kB / 1.08 GB, free: 22.18 MB / 0.8419 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.0003466/0.8956, allocations: 185.9 kB / 1.08 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.8959, allocations: 126.8 kB / 1.08 GB, free: 22.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8959, allocations: 4.438 kB / 1.08 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.896, allocations: 44.08 kB / 1.08 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.8964, allocations: 52.61 kB / 1.08 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.8971, allocations: 419.2 kB / 1.081 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.8972, allocations: 0.7151 MB / 1.081 GB, free: 21.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.8973, allocations: 28.69 kB / 1.081 GB, free: 21.11 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.8973, allocations: 0 / 1.081 GB, free: 21.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.005421/0.9027, allocations: 3.158 MB / 1.085 GB, free: 20.76 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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