Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006893/0.006893, allocations: 99.06 kB / 15.73 MB, free: 6.043 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.001021/0.001021, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.896/2.896, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.83 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007333/0.361, allocations: 4.439 MB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3643, allocations: 2.695 MB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3644, allocations: 0 / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.3648, allocations: 47.67 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.3653, allocations: 99.36 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.367, allocations: 0.4939 MB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.3674, allocations: 243.9 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.3675, allocations: 5.562 kB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.3687, allocations: 418.8 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.369, allocations: 87.66 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.369, allocations: 12 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.3705, allocations: 499 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3706, allocations: 31.89 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.3708, allocations: 83.64 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.372, allocations: 354.8 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.372, allocations: 0 / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/0.372, allocations: 0 / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.372, allocations: 3.938 kB / 1.23 GB, free: 4.254 MB / 0.9825 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.001303/0.3733, allocations: 0.5064 MB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.3734, allocations: 8.031 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.3737, allocations: 28.83 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.3741, allocations: 208.2 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3741, allocations: 8.703 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3741, allocations: 20.38 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.3747, allocations: 253 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3747, allocations: 0 / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3747, allocations: 8 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3747, allocations: 4 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.3753, allocations: 436 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3765, allocations: 1.004 MB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3768, allocations: 147 kB / 1.232 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3769, allocations: 52.89 kB / 1.233 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.3783, allocations: 1.829 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3783, allocations: 34.56 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3783, allocations: 0 / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003361/0.3787, allocations: 151.4 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3787, allocations: 59.34 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3789, allocations: 179.9 kB / 1.235 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3789, allocations: 29.7 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.379, allocations: 144 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.379, allocations: 55.58 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.3791, allocations: 49.7 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3792, allocations: 322.8 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.3793, allocations: 35.98 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3794, allocations: 154.1 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3796, allocations: 193.5 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3796, allocations: 4 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003092/0.38, allocations: 215.8 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.38, allocations: 8 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.38, allocations: 4 kB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.38, allocations: 4 kB / 1.236 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3802, allocations: 60.31 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3802, allocations: 19.92 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3803, allocations: 23.84 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3803, allocations: 12 kB / 1.236 GB, free: 13.3 MB / 0.9981 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.000123/0.3804, allocations: 145.7 kB / 1.236 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.3805, allocations: 15.91 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.3808, allocations: 158.8 kB / 1.236 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.3808, allocations: 7.938 kB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3808, allocations: 0 / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3808, allocations: 0 / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.381, allocations: 217.6 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.381, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.3811, allocations: 23.98 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3811, allocations: 0 / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3811, allocations: 8 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3812, allocations: 3.938 kB / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3812, allocations: 0 / 1.237 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3814, allocations: 219.3 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.3815, allocations: 116.9 kB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3815, allocations: 4 kB / 1.237 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3817, allocations: 19.92 kB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.3817, allocations: 7.984 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3817, allocations: 8 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.3818, allocations: 116 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3818, allocations: 0 / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003986/0.3822, allocations: 83.86 kB / 1.237 GB, free: 12.07 MB / 0.9981 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.0003559/0.3826, allocations: 183 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3828, allocations: 118.5 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3828, allocations: 0.9375 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.3829, allocations: 39.92 kB / 1.237 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3834, allocations: 63.88 kB / 1.237 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.3841, allocations: 338.7 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3844, allocations: 0.7128 MB / 1.238 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.3846, allocations: 45.75 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.3847, allocations: 19.44 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3847, allocations: 0 / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.007466/0.3921, allocations: 3.385 MB / 1.242 GB, free: 7.164 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches