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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001037/0.001037, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001409/0.001409, allocations: 168.7 kB / 15.95 MB, free: 204 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.472/1.472, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004124, allocations: 11.94 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8077, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006007/0.8138, allocations: 3.932 MB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.8168, allocations: 2.482 MB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.817, allocations: 4 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.8173, allocations: 39.81 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.8177, allocations: 87.41 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.8191, allocations: 390.2 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.8195, allocations: 275.7 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.298e-05/0.8196, allocations: 13.56 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.8208, allocations: 395 kB / 1.03 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.8211, allocations: 95.66 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.8211, allocations: 4 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.8224, allocations: 391.2 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.8225, allocations: 39.89 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.8226, allocations: 57.62 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.8231, allocations: 213.6 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.8232, allocations: 4 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8232, allocations: 3.938 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.8232, allocations: 4 kB / 1.031 GB, free: 7.629 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.0009398/0.8241, allocations: 475 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.8242, allocations: 8.562 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.8244, allocations: 23.8 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.8247, allocations: 202.8 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8248, allocations: 16.28 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.8248, allocations: 27.97 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.8253, allocations: 233 kB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.8253, allocations: 3.938 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.8253, allocations: 8 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.8253, allocations: 11.98 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.8259, allocations: 423.5 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.8272, allocations: 1.004 MB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.8275, allocations: 160.8 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.8276, allocations: 60.88 kB / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.8291, allocations: 1.829 MB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8291, allocations: 38.56 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.8291, allocations: 0 / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003697/0.8295, allocations: 137.5 kB / 1.035 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.8296, allocations: 59.36 kB / 1.035 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.8297, allocations: 169.1 kB / 1.035 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.8298, allocations: 37.69 kB / 1.035 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.8299, allocations: 135.8 kB / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.8299, allocations: 55.19 kB / 1.036 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.8299, allocations: 8 kB / 1.036 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.83, allocations: 326.8 kB / 1.036 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.8301, allocations: 35.97 kB / 1.036 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.8303, allocations: 133.7 kB / 1.036 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.8304, allocations: 59.92 kB / 1.036 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8304, allocations: 0 / 1.036 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003343/0.8307, allocations: 216 kB / 1.036 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8308, allocations: 8 kB / 1.036 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8308, allocations: 7.984 kB / 1.036 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8308, allocations: 4 kB / 1.036 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.831, allocations: 59.91 kB / 1.036 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.831, allocations: 7.938 kB / 1.036 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8312, allocations: 27.7 kB / 1.036 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.8312, allocations: 12 kB / 1.036 GB, free: 0.9805 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.0001463/0.8314, allocations: 143.3 kB / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.8314, allocations: 15.81 kB / 1.037 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.8318, allocations: 162.8 kB / 1.037 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8318, allocations: 4 kB / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8318, allocations: 0 / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.8318, allocations: 0 / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.8321, allocations: 221.5 kB / 1.037 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8321, allocations: 4 kB / 1.037 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.8322, allocations: 23.98 kB / 1.037 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8322, allocations: 0 / 1.037 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.8322, allocations: 12 kB / 1.037 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8322, allocations: 0 / 1.037 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8323, allocations: 0 / 1.037 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.8325, allocations: 216.8 kB / 1.037 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.8327, allocations: 108.9 kB / 1.037 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.8327, allocations: 11.94 kB / 1.037 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.8329, allocations: 19.98 kB / 1.037 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.833, allocations: 11.98 kB / 1.037 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.833, allocations: 12 kB / 1.037 GB, free: 15.94 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.803e-05/0.8331, allocations: 117.6 kB / 1.037 GB, free: 15.83 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8331, allocations: 0 / 1.037 GB, free: 15.83 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004048/0.8335, allocations: 75.98 kB / 1.037 GB, free: 15.75 MB / 0.795 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.0003223/0.8338, allocations: 171.1 kB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.8341, allocations: 127.6 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8341, allocations: 0 / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.8342, allocations: 48.89 kB / 1.038 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.8347, allocations: 52.86 kB / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.8355, allocations: 427.6 kB / 1.038 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.8359, allocations: 0.7211 MB / 1.039 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.8361, allocations: 41.69 kB / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.8361, allocations: 31.42 kB / 1.039 GB, free: 14.09 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.8361, allocations: 0 / 1.039 GB, free: 14.09 MB / 0.795 GB Notification: Performance of Templates: time 0.007643/0.8438, allocations: 3.117 MB / 1.042 GB, free: 11.01 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches