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.001258/0.001258, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00128/0.00128, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 15.98 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7117/0.712, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007234/0.7193, allocations: 3.698 MB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.7232, allocations: 2.163 MB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.7233, allocations: 8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.7237, allocations: 35.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.7239, allocations: 75.81 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.7252, allocations: 417.7 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.7255, allocations: 164.5 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.7256, allocations: 5.562 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.7266, allocations: 395.2 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.7268, allocations: 83.67 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.7268, allocations: 8 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.7279, allocations: 427.4 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.728, allocations: 35.89 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.7281, allocations: 53.64 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004549/0.7285, allocations: 209.5 kB / 1.028 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7285, allocations: 3.938 kB / 1.028 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7286, allocations: 4 kB / 1.028 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7286, allocations: 0 / 1.028 GB, free: 9.312 MB / 0.7794 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.0007387/0.7293, allocations: 467.1 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7294, allocations: 15.98 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.7295, allocations: 23.81 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.7298, allocations: 210.8 kB / 1.029 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.7298, allocations: 16.28 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.7299, allocations: 12 kB / 1.029 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.7302, allocations: 252.9 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.7302, allocations: 0 / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.7303, allocations: 11.94 kB / 1.029 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.7303, allocations: 8 kB / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.7308, allocations: 427.4 kB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.7319, allocations: 1.035 MB / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.7323, allocations: 159 kB / 1.031 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.7338, allocations: 1.84 MB / 1.033 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7338, allocations: 34.5 kB / 1.033 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.7338, allocations: 4 kB / 1.033 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003263/0.7341, allocations: 137.5 kB / 1.033 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.7342, allocations: 55.41 kB / 1.033 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7344, allocations: 179.1 kB / 1.033 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.7344, allocations: 29.7 kB / 1.033 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.7345, allocations: 139.8 kB / 1.033 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.7345, allocations: 59.19 kB / 1.033 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.7345, allocations: 4 kB / 1.033 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7347, allocations: 326.8 kB / 1.034 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.7347, allocations: 31.98 kB / 1.034 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.7349, allocations: 141.6 kB / 1.034 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.818e-05/0.735, allocations: 54.19 kB / 1.034 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.735, allocations: 4 kB / 1.034 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003202/0.7353, allocations: 205.7 kB / 1.034 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7354, allocations: 17.5 kB / 1.034 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7354, allocations: 4 kB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.7354, allocations: 4 kB / 1.034 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.7356, allocations: 55.91 kB / 1.034 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.7356, allocations: 7.938 kB / 1.034 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.7357, allocations: 35.64 kB / 1.034 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.7358, allocations: 11.98 kB / 1.034 GB, free: 2.668 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7359, allocations: 137.7 kB / 1.034 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.736, allocations: 19.81 kB / 1.034 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.7363, allocations: 157.3 kB / 1.034 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7363, allocations: 4 kB / 1.034 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7363, allocations: 0 / 1.034 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7363, allocations: 3.984 kB / 1.034 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.7366, allocations: 209.6 kB / 1.035 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7366, allocations: 0 / 1.035 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7367, allocations: 31.98 kB / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7367, allocations: 0 / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.7367, allocations: 11.98 kB / 1.035 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7367, allocations: 0 / 1.035 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7367, allocations: 0 / 1.035 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.737, allocations: 227.1 kB / 1.035 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7371, allocations: 120.8 kB / 1.035 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.7372, allocations: 7.938 kB / 1.035 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.7374, allocations: 27.98 kB / 1.035 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.7374, allocations: 11.98 kB / 1.035 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.7374, allocations: 7.984 kB / 1.035 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.148e-05/0.7375, allocations: 120.9 kB / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7375, allocations: 0 / 1.035 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000418/0.738, allocations: 75.98 kB / 1.035 GB, free: 1.426 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002772/0.7383, allocations: 167.1 kB / 1.035 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.7385, allocations: 115.8 kB / 1.036 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7385, allocations: 0 / 1.036 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.7386, allocations: 49.73 kB / 1.036 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.739, allocations: 44.86 kB / 1.036 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.7397, allocations: 423.7 kB / 1.036 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.74, allocations: 0.7211 MB / 1.037 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000189/0.7402, allocations: 53.61 kB / 1.037 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.7402, allocations: 23.44 kB / 1.037 GB, free: 15.79 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.7402, allocations: 0 / 1.037 GB, free: 15.79 MB / 0.795 GB Notification: Performance of Templates: time 0.006666/0.7469, allocations: 3.092 MB / 1.04 GB, free: 12.73 MB / 0.795 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","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches