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.001356/0.00136, 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.002475/0.002475, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.811/2.811, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.83 kB / 0.8685 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8766, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006591/0.8832, allocations: 4.49 MB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.8861, allocations: 2.714 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.8863, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.8866, allocations: 39.8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.887, allocations: 87.48 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.8882, allocations: 441.7 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.8885, allocations: 315.7 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.8886, allocations: 9.562 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000988/0.8896, allocations: 410.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.8897, allocations: 95.59 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.8898, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.891, allocations: 499 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.8911, allocations: 35.89 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.8912, allocations: 79.66 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.8918, allocations: 357 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8918, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8918, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8919, allocations: 0 / 1.026 GB, free: 9.262 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.0008252/0.8927, allocations: 0.5032 MB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.8927, allocations: 8.031 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.8929, allocations: 24.73 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.8932, allocations: 212 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.8932, allocations: 12.7 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.8932, allocations: 20.31 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.8936, allocations: 245.1 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8937, allocations: 3.938 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.8937, allocations: 8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.8937, allocations: 12 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.8942, allocations: 432 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.8954, allocations: 0.996 MB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.8957, allocations: 159 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.8958, allocations: 66.41 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/0.8973, allocations: 1.825 MB / 1.03 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.8974, allocations: 38.56 kB / 1.03 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.8974, allocations: 0 / 1.03 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003733/0.8978, allocations: 147.7 kB / 1.03 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.8978, allocations: 63.28 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.898, allocations: 165.9 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.898, allocations: 33.69 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.8981, allocations: 139.8 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.8982, allocations: 55.2 kB / 1.031 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.8983, allocations: 49.61 kB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8984, allocations: 326.8 kB / 1.031 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.8985, allocations: 43.97 kB / 1.031 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.8986, allocations: 129.7 kB / 1.031 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.8988, allocations: 197.5 kB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8988, allocations: 0 / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003113/0.8992, allocations: 214.4 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8992, allocations: 9.719 kB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8992, allocations: 4 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8992, allocations: 4.469 kB / 1.032 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.8994, allocations: 59.86 kB / 1.032 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/0.8994, allocations: 11.92 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.8996, allocations: 31.69 kB / 1.032 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.8996, allocations: 15.94 kB / 1.032 GB, free: 2.32 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.0001225/0.8997, allocations: 133.8 kB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.8998, allocations: 15.81 kB / 1.032 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.9001, allocations: 151 kB / 1.032 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.9001, allocations: 11.94 kB / 1.032 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9001, allocations: 4 kB / 1.032 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9001, allocations: 0 / 1.032 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.9004, allocations: 221.4 kB / 1.032 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9004, allocations: 0 / 1.032 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.9005, allocations: 23.94 kB / 1.032 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9005, allocations: 0 / 1.032 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.9005, allocations: 11.98 kB / 1.032 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.9005, allocations: 3.938 kB / 1.032 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9005, allocations: 0 / 1.032 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.9008, allocations: 216.9 kB / 1.033 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/0.9009, allocations: 104.9 kB / 1.033 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.9009, allocations: 4 kB / 1.033 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.9011, allocations: 19.92 kB / 1.033 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.9012, allocations: 11.92 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.9012, allocations: 15.98 kB / 1.033 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.649e-05/0.9013, allocations: 118.3 kB / 1.033 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9013, allocations: 4 kB / 1.033 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004065/0.9017, allocations: 83.84 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.0004631/0.9022, allocations: 175.1 kB / 1.033 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.9025, allocations: 126.4 kB / 1.033 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9025, allocations: 4.062 kB / 1.033 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.9025, allocations: 51.84 kB / 1.033 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.903, allocations: 47.95 kB / 1.033 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.9038, allocations: 392.7 kB / 1.034 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.9041, allocations: 0.717 MB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.9043, allocations: 41.81 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.9044, allocations: 19.44 kB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.9044, allocations: 0 / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of Templates: time 0.00691/0.9113, allocations: 3.245 MB / 1.038 GB, free: 12.27 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