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: 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.001396/0.001396, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001559/0.001559, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.05 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3284, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005934/0.3344, allocations: 4.448 MB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3371, allocations: 2.687 MB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.3372, allocations: 4 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.3376, allocations: 47.67 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.338, allocations: 91.36 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3392, allocations: 0.4951 MB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.3395, allocations: 231.9 kB / 1.035 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.3395, allocations: 9.562 kB / 1.035 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.3405, allocations: 419.8 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3407, allocations: 87.61 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3407, allocations: 12 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008803/0.3416, allocations: 495.1 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.3417, allocations: 35.83 kB / 1.036 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.3418, allocations: 79.67 kB / 1.036 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.3424, allocations: 355 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3424, allocations: 0 / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3424, allocations: 4 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3424, allocations: 0 / 1.036 GB, free: 8.551 MB / 0.8106 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.0008296/0.3432, allocations: 0.4965 MB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3433, allocations: 8.031 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3435, allocations: 24.73 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3438, allocations: 216.1 kB / 1.037 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3438, allocations: 12.7 kB / 1.037 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.3439, allocations: 16.38 kB / 1.037 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3443, allocations: 253 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3443, allocations: 0 / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.3443, allocations: 12 kB / 1.037 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.3443, allocations: 4 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.3449, allocations: 423.5 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.346, allocations: 1.011 MB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3463, allocations: 156.5 kB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3464, allocations: 64.88 kB / 1.039 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.3479, allocations: 1.825 MB / 1.04 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3479, allocations: 38.5 kB / 1.04 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3479, allocations: 0 / 1.04 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003271/0.3482, allocations: 137.4 kB / 1.041 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3483, allocations: 71.27 kB / 1.041 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3485, allocations: 168.7 kB / 1.041 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3485, allocations: 29.7 kB / 1.041 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3486, allocations: 143.8 kB / 1.041 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3486, allocations: 51.27 kB / 1.041 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.3487, allocations: 53.61 kB / 1.041 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3488, allocations: 326.8 kB / 1.041 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.3489, allocations: 35.97 kB / 1.041 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3491, allocations: 142.7 kB / 1.041 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.3493, allocations: 201.5 kB / 1.042 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3493, allocations: 0 / 1.042 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003082/0.3496, allocations: 216.1 kB / 1.042 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3496, allocations: 4 kB / 1.042 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3496, allocations: 8 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3497, allocations: 4 kB / 1.042 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3498, allocations: 60.33 kB / 1.042 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3499, allocations: 11.98 kB / 1.042 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.35, allocations: 27.69 kB / 1.042 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.35, allocations: 16 kB / 1.042 GB, free: 1.602 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.0001111/0.3501, allocations: 129.7 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.3502, allocations: 15.81 kB / 1.042 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3505, allocations: 154.9 kB / 1.042 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3505, allocations: 7.875 kB / 1.042 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3505, allocations: 3.984 kB / 1.042 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3505, allocations: 3.984 kB / 1.042 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.3508, allocations: 217.5 kB / 1.043 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3508, allocations: 0 / 1.043 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.3509, allocations: 23.98 kB / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3509, allocations: 0 / 1.043 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3509, allocations: 8 kB / 1.043 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3509, allocations: 7.875 kB / 1.043 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3509, allocations: 3.938 kB / 1.043 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3512, allocations: 223.2 kB / 1.043 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.3513, allocations: 116.8 kB / 1.043 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3513, allocations: 0 / 1.043 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3515, allocations: 19.92 kB / 1.043 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.3515, allocations: 7.984 kB / 1.043 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3515, allocations: 12 kB / 1.043 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.857e-05/0.3516, allocations: 123.9 kB / 1.043 GB, free: 460 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3516, allocations: 0 / 1.043 GB, free: 460 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003825/0.352, allocations: 68 kB / 1.043 GB, free: 392 kB / 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.0003177/0.3524, allocations: 175.1 kB / 1.043 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3526, allocations: 122.9 kB / 1.043 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3526, allocations: 0.9375 kB / 1.043 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.3527, allocations: 43.92 kB / 1.043 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3531, allocations: 56.03 kB / 1.043 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.3539, allocations: 338.7 kB / 1.044 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3541, allocations: 0.7128 MB / 1.045 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.3543, allocations: 57.66 kB / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.3543, allocations: 19.44 kB / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3543, allocations: 0 / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.006961/0.3613, allocations: 3.34 MB / 1.048 GB, free: 11.52 MB / 0.8262 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 -s cvode -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