Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 111.8 kB / 16.37 MB, free: 5.984 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.001625/0.001625, allocations: 194.4 kB / 17.31 MB, free: 5.602 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.36 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2669, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01611/0.283, allocations: 12.99 MB / 0.9638 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.2859, allocations: 2.667 MB / 0.9664 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.286, allocations: 7.938 kB / 0.9664 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.2863, allocations: 43.67 kB / 0.9665 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.2866, allocations: 95.41 kB / 0.9665 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2877, allocations: 0.5011 MB / 0.967 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.288, allocations: 231.9 kB / 0.9673 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.2881, allocations: 13.5 kB / 0.9673 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007975/0.296, allocations: 3.583 MB / 0.9708 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2962, allocations: 91.59 kB / 0.9709 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2963, allocations: 8 kB / 0.9709 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.2987, allocations: 1.063 MB / 0.9719 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.2988, allocations: 39.89 kB / 0.9719 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.627e-05/0.2989, allocations: 79.66 kB / 0.972 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.2996, allocations: 367 kB / 0.9724 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2996, allocations: 0 / 0.9724 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2996, allocations: 0 / 0.9724 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2996, allocations: 0 / 0.9724 GB, free: 2.234 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.0007085/0.3004, allocations: 0.5031 MB / 0.9729 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3004, allocations: 8.031 kB / 0.9729 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3006, allocations: 20.84 kB / 0.9729 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3009, allocations: 224 kB / 0.9731 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3009, allocations: 16.7 kB / 0.9731 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3009, allocations: 12.38 kB / 0.9731 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.3013, allocations: 256.2 kB / 0.9734 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3013, allocations: 0 / 0.9734 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3013, allocations: 8 kB / 0.9734 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3013, allocations: 8 kB / 0.9734 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.3018, allocations: 423.5 kB / 0.9738 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3029, allocations: 0.9682 MB / 0.9747 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.3032, allocations: 171.3 kB / 0.9749 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/0.3033, allocations: 64.88 kB / 0.975 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.3047, allocations: 1.833 MB / 0.9767 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3047, allocations: 42.55 kB / 0.9768 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.3048, allocations: 3.938 kB / 0.9768 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0003266/0.3051, allocations: 133.5 kB / 0.9769 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3051, allocations: 59.34 kB / 0.977 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3053, allocations: 171.2 kB / 0.9771 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3053, allocations: 29.7 kB / 0.9772 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.3054, allocations: 139.8 kB / 0.9773 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.3055, allocations: 59.17 kB / 0.9774 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.3055, allocations: 49.7 kB / 0.9774 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3057, allocations: 322.8 kB / 0.9777 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.3057, allocations: 35.98 kB / 0.9777 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3059, allocations: 142.1 kB / 0.9779 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3061, allocations: 196.6 kB / 0.9781 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3061, allocations: 0 / 0.9781 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000311/0.3064, allocations: 221 kB / 0.9783 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3064, allocations: 8 kB / 0.9783 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3065, allocations: 3.984 kB / 0.9783 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3065, allocations: 11.94 kB / 0.9783 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3067, allocations: 55.86 kB / 0.9784 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3067, allocations: 4.469 kB / 0.9784 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3068, allocations: 31.69 kB / 0.9784 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3068, allocations: 12 kB / 0.9784 GB, free: 11.32 MB / 0.7637 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 9.934e-05/0.3069, allocations: 129.8 kB / 0.9785 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.307, allocations: 15.81 kB / 0.9785 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.3073, allocations: 158.9 kB / 0.9787 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3073, allocations: 3.938 kB / 0.9787 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3073, allocations: 4 kB / 0.9787 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3073, allocations: 3.984 kB / 0.9787 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3075, allocations: 221.5 kB / 0.9789 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3076, allocations: 0 / 0.9789 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.3076, allocations: 23.98 kB / 0.9789 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3077, allocations: 0 / 0.9789 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3077, allocations: 4 kB / 0.9789 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3077, allocations: 7.938 kB / 0.9789 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3077, allocations: 3.938 kB / 0.979 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.3079, allocations: 221.8 kB / 0.9792 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.308, allocations: 112.9 kB / 0.9793 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3081, allocations: 8 kB / 0.9793 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3083, allocations: 15.92 kB / 0.9793 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3083, allocations: 11.98 kB / 0.9793 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.3083, allocations: 11.98 kB / 0.9793 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 7.726e-05/0.3084, allocations: 124.9 kB / 0.9794 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3084, allocations: 0 / 0.9794 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003748/0.3088, allocations: 79.94 kB / 0.9795 GB, free: 10.09 MB / 0.7637 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.0002905/0.3091, allocations: 191 kB / 0.9797 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3093, allocations: 124.5 kB / 0.9798 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3093, allocations: 3.938 kB / 0.9798 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.3094, allocations: 43.97 kB / 0.9799 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3098, allocations: 39.97 kB / 0.9799 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.3105, allocations: 360.9 kB / 0.9802 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3107, allocations: 0.7129 MB / 0.9809 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000146/0.3109, allocations: 53.73 kB / 0.981 GB, free: 8.512 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.3109, allocations: 19.44 kB / 0.981 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.3109, allocations: 3.938 kB / 0.981 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of Templates: time 0.006757/0.3177, allocations: 3.631 MB / 0.9846 GB, free: 4.895 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches