Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001468/0.001468, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001572/0.001572, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 64.7 kB / 0.8699 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3225, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007326/0.3299, allocations: 4.432 MB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3328, allocations: 2.691 MB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3329, allocations: 0 / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.3333, allocations: 47.67 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.3337, allocations: 95.38 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.335, allocations: 498.8 kB / 1.026 GB, free: 2.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.3353, allocations: 239.8 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/0.3353, allocations: 21.44 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3363, allocations: 413.1 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3365, allocations: 87.66 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.3365, allocations: 8 kB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3376, allocations: 499 kB / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.3377, allocations: 35.91 kB / 1.027 GB, free: 1.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3378, allocations: 79.66 kB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.3386, allocations: 355.3 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3386, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3386, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3386, allocations: 0 / 1.027 GB, free: 1.234 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.0008348/0.3395, allocations: 0.4953 MB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3395, allocations: 12.92 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.3397, allocations: 20.75 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.34, allocations: 212.1 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.34, allocations: 16.7 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.34, allocations: 12.38 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.3404, allocations: 249.1 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3404, allocations: 0 / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.3404, allocations: 12 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3405, allocations: 8 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.341, allocations: 427.5 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.3421, allocations: 1.008 MB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3423, allocations: 159.8 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3425, allocations: 60.88 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.3438, allocations: 1.829 MB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3439, allocations: 30.56 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.3439, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003557/0.3442, allocations: 145.4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.3443, allocations: 59.33 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3445, allocations: 172.2 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3445, allocations: 33.7 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.3446, allocations: 139.8 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3446, allocations: 55.25 kB / 1.032 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.3447, allocations: 53.61 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3448, allocations: 322.8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.3449, allocations: 39.97 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.345, allocations: 138.7 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.3453, allocations: 201.4 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3453, allocations: 0 / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003253/0.3456, allocations: 210.8 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3456, allocations: 8 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3456, allocations: 7.938 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3457, allocations: 4 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3458, allocations: 59.8 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3459, allocations: 11.94 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.346, allocations: 31.67 kB / 1.033 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.346, allocations: 16.39 kB / 1.033 GB, free: 10.29 MB / 0.8106 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.0001107/0.3461, allocations: 139.9 kB / 1.033 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.3462, allocations: 15.81 kB / 1.033 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3465, allocations: 153.5 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3465, allocations: 7.938 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3465, allocations: 0 / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3465, allocations: 3.984 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3468, allocations: 213.5 kB / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3468, allocations: 0 / 1.034 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.192e-05/0.3469, allocations: 35.98 kB / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3469, allocations: 0 / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3469, allocations: 0 / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3469, allocations: 7.938 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3469, allocations: 0 / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3472, allocations: 223.2 kB / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.3473, allocations: 104.9 kB / 1.034 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3473, allocations: 0 / 1.034 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3475, allocations: 27.86 kB / 1.034 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.3476, allocations: 11.98 kB / 1.034 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3476, allocations: 8 kB / 1.034 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.101e-05/0.3477, allocations: 123.9 kB / 1.034 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3477, allocations: 0 / 1.034 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000572/0.3483, allocations: 75.91 kB / 1.034 GB, free: 9.074 MB / 0.8106 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.0004427/0.3487, allocations: 183.1 kB / 1.034 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.349, allocations: 127.7 kB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.349, allocations: 0 / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.3491, allocations: 39.92 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.3495, allocations: 52.89 kB / 1.035 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.3503, allocations: 374.5 kB / 1.035 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3505, allocations: 0.7168 MB / 1.036 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.3506, allocations: 31.42 kB / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3506, allocations: 0 / 1.036 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.005759/0.3564, allocations: 3.13 MB / 1.039 GB, free: 4.387 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches