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.0016/0.0016, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001911/0.001912, allocations: 198.6 kB / 16.26 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.628/2.628, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 59.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.792/0.7938, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007421/0.8013, allocations: 4.467 MB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.8046, allocations: 2.687 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.8048, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.8052, allocations: 39.75 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.8057, allocations: 91.47 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.8074, allocations: 450.8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.8078, allocations: 247.7 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.636e-05/0.8078, allocations: 9.547 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.809, allocations: 410.9 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.8091, allocations: 87.66 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.8092, allocations: 12 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.8103, allocations: 0.4949 MB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.8104, allocations: 31.91 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.8105, allocations: 79.66 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.8113, allocations: 361 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8113, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.654e-06/0.8114, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.8114, allocations: 4 kB / 1.026 GB, free: 9.266 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.000984/0.8124, allocations: 0.4953 MB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.8124, allocations: 8.031 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.8127, allocations: 24.73 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.813, allocations: 212.1 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.813, allocations: 16.7 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.813, allocations: 16.38 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.8135, allocations: 245.1 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.8136, allocations: 3.984 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.8136, allocations: 11.98 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.8136, allocations: 8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.8142, allocations: 424 kB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.8155, allocations: 1.019 MB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.8158, allocations: 157.2 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.816, allocations: 56.84 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.8176, allocations: 1.833 MB / 1.03 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.8177, allocations: 30.56 kB / 1.03 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 5.15e-06/0.8177, allocations: 0 / 1.03 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003537/0.818, allocations: 145.4 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.8181, allocations: 63.34 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.8183, allocations: 169.1 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.8183, allocations: 29.7 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.8184, allocations: 139.8 kB / 1.031 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.8185, allocations: 55.2 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.8186, allocations: 49.7 kB / 1.031 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8187, allocations: 330.8 kB / 1.031 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.8188, allocations: 31.98 kB / 1.031 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.819, allocations: 137.7 kB / 1.031 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.8193, allocations: 199.8 kB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.8193, allocations: 4 kB / 1.032 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000371/0.8197, allocations: 213 kB / 1.032 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8197, allocations: 8 kB / 1.032 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8197, allocations: 4 kB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.8197, allocations: 4 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8199, allocations: 60.31 kB / 1.032 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.8199, allocations: 12 kB / 1.032 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.8201, allocations: 27.69 kB / 1.032 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.8201, allocations: 16 kB / 1.032 GB, free: 2.328 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.0001184/0.8202, allocations: 135.2 kB / 1.032 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.8203, allocations: 15.81 kB / 1.032 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.8206, allocations: 152.3 kB / 1.032 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.8206, allocations: 7.938 kB / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8207, allocations: 4 kB / 1.032 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8207, allocations: 0 / 1.032 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.821, allocations: 221.4 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.821, allocations: 0 / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.8211, allocations: 27.98 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8211, allocations: 0 / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.8211, allocations: 4 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.8211, allocations: 3.938 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8211, allocations: 0 / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.8214, allocations: 220.3 kB / 1.033 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.8215, allocations: 108.9 kB / 1.033 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.8215, allocations: 4 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.8218, allocations: 31.89 kB / 1.033 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.8219, allocations: 7.984 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.8219, allocations: 12 kB / 1.033 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.884e-05/0.822, allocations: 125.6 kB / 1.033 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.822, allocations: 0 / 1.033 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004269/0.8224, allocations: 83.92 kB / 1.033 GB, free: 1.098 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.0005081/0.823, allocations: 179 kB / 1.033 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.8233, allocations: 129 kB / 1.033 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.8233, allocations: 4.25 kB / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.8234, allocations: 48.77 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.0004912/0.8239, allocations: 53.39 kB / 1.034 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/0.8248, allocations: 394.8 kB / 1.034 GB, free: 280 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.8252, allocations: 0.7128 MB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.8254, allocations: 41.75 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.8255, allocations: 31.42 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.8255, allocations: 0 / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of Templates: time 0.00806/0.8335, allocations: 3.338 MB / 1.038 GB, free: 12.16 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