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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001474/0.001474, allocations: 199 kB / 16.14 MB, free: 6.633 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.842/2.842, allocations: 437 MB / 0.71 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 59.91 kB / 0.8685 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.8164, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007733/0.8242, allocations: 4.493 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.8277, allocations: 2.707 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.8278, allocations: 3.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.8281, allocations: 35.81 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.8284, allocations: 83.48 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.8299, allocations: 452.3 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.8303, allocations: 315.6 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.8304, allocations: 13.55 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.8316, allocations: 401.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.8318, allocations: 95.59 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.8318, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.8331, allocations: 495 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.8332, allocations: 31.89 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.8334, allocations: 83.64 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009819/0.8344, allocations: 357 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8344, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8344, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8344, allocations: 0 / 1.026 GB, free: 9.254 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.001042/0.8355, allocations: 0.4993 MB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8355, allocations: 12.03 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.8357, allocations: 20.75 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.836, allocations: 216 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.8361, allocations: 16.7 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.8361, allocations: 20.31 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.8366, allocations: 249.1 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.8366, allocations: 0 / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.8367, allocations: 8 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.8367, allocations: 11.94 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.8373, allocations: 427.5 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.8388, allocations: 1.004 MB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.8392, allocations: 155.1 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.8393, allocations: 66.58 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/0.8411, allocations: 1.825 MB / 1.03 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.8412, allocations: 34.56 kB / 1.03 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.8412, allocations: 0 / 1.03 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.000406/0.8416, allocations: 145.4 kB / 1.03 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.8417, allocations: 63.28 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.8419, allocations: 165.9 kB / 1.031 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.8419, allocations: 33.64 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.842, allocations: 139.8 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.8421, allocations: 63.17 kB / 1.031 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.8422, allocations: 53.61 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8424, allocations: 322.8 kB / 1.031 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.8425, allocations: 31.98 kB / 1.031 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.8427, allocations: 141.7 kB / 1.031 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.843, allocations: 199 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.843, allocations: 0 / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003946/0.8434, allocations: 213.4 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.8434, allocations: 4 kB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8434, allocations: 4 kB / 1.032 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.8434, allocations: 4 kB / 1.032 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.8436, allocations: 59.84 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.8437, allocations: 7.938 kB / 1.032 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.8438, allocations: 27.69 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.8438, allocations: 16.28 kB / 1.032 GB, free: 2.316 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.844, allocations: 134.3 kB / 1.032 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.8441, allocations: 19.75 kB / 1.032 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.8444, allocations: 159.8 kB / 1.032 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.8444, allocations: 7.875 kB / 1.032 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8445, allocations: 0 / 1.032 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.8445, allocations: 4 kB / 1.032 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.8448, allocations: 217.4 kB / 1.032 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8448, allocations: 0 / 1.032 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.8449, allocations: 31.92 kB / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8449, allocations: 4 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.845, allocations: 0 / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.845, allocations: 3.938 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.845, allocations: 4 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.8453, allocations: 221.6 kB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.8454, allocations: 104.9 kB / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.8454, allocations: 4 kB / 1.033 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.8457, allocations: 19.92 kB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.8457, allocations: 15.98 kB / 1.033 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.8457, allocations: 4 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001282/0.8459, allocations: 126.2 kB / 1.033 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8459, allocations: 0 / 1.033 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004342/0.8463, allocations: 83.83 kB / 1.033 GB, free: 1.086 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 (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.0004868/0.8468, allocations: 183.2 kB / 1.033 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.8471, allocations: 115.7 kB / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8471, allocations: 0 / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.8472, allocations: 47.92 kB / 1.033 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.8477, allocations: 60.31 kB / 1.033 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.8485, allocations: 388.6 kB / 1.034 GB, free: 284 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.849, allocations: 0.717 MB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.8492, allocations: 49.73 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.8493, allocations: 23.44 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.8493, allocations: 0 / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of Templates: time 0.008846/0.8581, allocations: 3.241 MB / 1.038 GB, free: 12.26 MB / 0.795 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches