Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001271/0.001271, allocations: 104 kB / 16.35 MB, free: 5.824 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.001204/0.001204, allocations: 193 kB / 17.29 MB, free: 5.48 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.7 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006005/0.3055, allocations: 4.445 MB / 0.9554 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3084, allocations: 2.687 MB / 0.9581 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.3085, allocations: 3.938 kB / 0.9581 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.3088, allocations: 47.67 kB / 0.9581 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.3091, allocations: 95.42 kB / 0.9582 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3103, allocations: 494.3 kB / 0.9587 GB, free: 280 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3105, allocations: 235.9 kB / 0.9589 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.3106, allocations: 9.562 kB / 0.9589 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009436/0.3116, allocations: 418.8 kB / 0.9593 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3117, allocations: 91.59 kB / 0.9594 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3117, allocations: 11.94 kB / 0.9594 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/0.3127, allocations: 495.1 kB / 0.9599 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.3128, allocations: 35.84 kB / 0.9599 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.3129, allocations: 83.64 kB / 0.96 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3134, allocations: 351 kB / 0.9603 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3134, allocations: 8 kB / 0.9603 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3134, allocations: 0 / 0.9603 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3135, allocations: 0 / 0.9603 GB, free: 14.57 MB / 0.7481 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.0007417/0.3142, allocations: 499.2 kB / 0.9608 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3142, allocations: 8.031 kB / 0.9608 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3144, allocations: 32.67 kB / 0.9608 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3147, allocations: 212.2 kB / 0.961 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3148, allocations: 12.7 kB / 0.9611 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3148, allocations: 20.36 kB / 0.9611 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.3152, allocations: 253 kB / 0.9613 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3152, allocations: 0 / 0.9613 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.3152, allocations: 8 kB / 0.9613 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.3153, allocations: 4 kB / 0.9613 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.3158, allocations: 431.4 kB / 0.9617 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3169, allocations: 1.011 MB / 0.9627 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3172, allocations: 164.1 kB / 0.9629 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3173, allocations: 60.89 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.3187, allocations: 1.825 MB / 0.9647 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.3188, allocations: 42.5 kB / 0.9648 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3188, allocations: 0 / 0.9648 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0003352/0.3191, allocations: 144.4 kB / 0.9649 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3192, allocations: 59.34 kB / 0.965 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3193, allocations: 167.3 kB / 0.9651 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3194, allocations: 29.7 kB / 0.9652 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.3195, allocations: 135.8 kB / 0.9653 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3195, allocations: 63.23 kB / 0.9653 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.3196, allocations: 53.61 kB / 0.9654 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3197, allocations: 322.8 kB / 0.9657 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.3198, allocations: 31.98 kB / 0.9657 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.32, allocations: 146.1 kB / 0.9659 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.3202, allocations: 197.5 kB / 0.9661 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3202, allocations: 0 / 0.9661 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003144/0.3205, allocations: 216.5 kB / 0.9663 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3205, allocations: 4 kB / 0.9663 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3206, allocations: 4 kB / 0.9663 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.3206, allocations: 8 kB / 0.9663 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3208, allocations: 59.84 kB / 0.9663 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3208, allocations: 7.938 kB / 0.9663 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3209, allocations: 23.69 kB / 0.9664 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3209, allocations: 16 kB / 0.9664 GB, free: 7.629 MB / 0.7481 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.0001067/0.321, allocations: 137.8 kB / 0.9665 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.3211, allocations: 15.81 kB / 0.9665 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3214, allocations: 158.9 kB / 0.9667 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3214, allocations: 3.938 kB / 0.9667 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3214, allocations: 0 / 0.9667 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3214, allocations: 0 / 0.9667 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3217, allocations: 213.5 kB / 0.9669 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3217, allocations: 3.938 kB / 0.9669 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.3218, allocations: 27.98 kB / 0.9669 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3218, allocations: 4 kB / 0.9669 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3218, allocations: 0 / 0.9669 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3218, allocations: 15.88 kB / 0.9669 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3218, allocations: 0 / 0.9669 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3221, allocations: 223.3 kB / 0.9671 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3222, allocations: 108.9 kB / 0.9673 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3222, allocations: 4 kB / 0.9673 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3224, allocations: 15.92 kB / 0.9673 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3225, allocations: 15.98 kB / 0.9673 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3225, allocations: 8 kB / 0.9673 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.262e-05/0.3226, allocations: 128.8 kB / 0.9674 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3226, allocations: 0 / 0.9674 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004161/0.323, allocations: 79.98 kB / 0.9675 GB, free: 6.391 MB / 0.7481 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.0003658/0.3234, allocations: 179.1 kB / 0.9677 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3237, allocations: 118.3 kB / 0.9678 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.3237, allocations: 4 kB / 0.9678 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.3238, allocations: 39.92 kB / 0.9678 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3242, allocations: 63.02 kB / 0.9679 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.325, allocations: 339 kB / 0.9682 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3254, allocations: 0.7128 MB / 0.9689 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.3255, allocations: 49.69 kB / 0.9689 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.3256, allocations: 27.44 kB / 0.969 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of SimCode: time 9.198e-06/0.3256, allocations: 0 / 0.969 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.00834/0.3339, allocations: 3.333 MB / 0.9722 GB, free: 1.527 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches