Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.349/2.349, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 182.9 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 96.25 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004687, allocations: 7.812 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.693, allocations: 450.9 MB / 1.67 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.693, allocations: 91.67 kB / 1.67 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2581/1.951, allocations: 87.54 MB / 1.755 GB, free: 11.68 MB / 1.073 GB Notification: Performance of FrontEnd: time 5.109e-06/1.952, allocations: 4 kB / 1.755 GB, free: 11.67 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.952, allocations: 3.938 kB / 1.755 GB, free: 11.67 MB / 1.073 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.003756/1.955, allocations: 0.7435 MB / 1.756 GB, free: 10.89 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.955, allocations: 12.52 kB / 1.756 GB, free: 10.88 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/1.956, allocations: 31.75 kB / 1.756 GB, free: 10.85 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/1.956, allocations: 210.3 kB / 1.756 GB, free: 10.62 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/1.956, allocations: 12.2 kB / 1.756 GB, free: 10.61 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/1.956, allocations: 15.73 kB / 1.756 GB, free: 10.6 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/1.957, allocations: 245.7 kB / 1.756 GB, free: 10.4 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.957, allocations: 0 / 1.756 GB, free: 10.4 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/1.957, allocations: 7.75 kB / 1.756 GB, free: 10.39 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/1.957, allocations: 7.984 kB / 1.756 GB, free: 10.39 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/1.958, allocations: 432.5 kB / 1.757 GB, free: 10.04 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.959, allocations: 1.013 MB / 1.758 GB, free: 9.051 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/1.96, allocations: 164.3 kB / 1.758 GB, free: 8.91 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.961, allocations: 1.85 MB / 1.76 GB, free: 6.754 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.961, allocations: 34.56 kB / 1.76 GB, free: 6.711 MB / 1.073 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/1.961, allocations: 0 / 1.76 GB, free: 6.711 MB / 1.073 GB Notification: Performance of matching and sorting (n=15): time 0.0003814/1.962, allocations: 146.5 kB / 1.76 GB, free: 6.586 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.962, allocations: 59.34 kB / 1.76 GB, free: 6.516 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.962, allocations: 155.9 kB / 1.76 GB, free: 6.371 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.962, allocations: 33.33 kB / 1.76 GB, free: 6.336 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/1.962, allocations: 142.6 kB / 1.76 GB, free: 6.203 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/1.962, allocations: 50.2 kB / 1.76 GB, free: 6.16 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/1.962, allocations: 3.875 kB / 1.76 GB, free: 6.16 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.962, allocations: 329.8 kB / 1.761 GB, free: 5.832 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/1.962, allocations: 31.05 kB / 1.761 GB, free: 5.809 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/1.963, allocations: 148.8 kB / 1.761 GB, free: 5.629 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/1.963, allocations: 53.88 kB / 1.761 GB, free: 5.594 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.963, allocations: 4 kB / 1.761 GB, free: 5.59 MB / 1.073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000368/1.963, allocations: 211.2 kB / 1.761 GB, free: 5.406 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.963, allocations: 4 kB / 1.761 GB, free: 5.402 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.963, allocations: 4 kB / 1.761 GB, free: 5.398 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.963, allocations: 8 kB / 1.761 GB, free: 5.391 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/1.963, allocations: 61.41 kB / 1.761 GB, free: 5.332 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.963, allocations: 4.469 kB / 1.761 GB, free: 5.328 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/1.963, allocations: 36.38 kB / 1.761 GB, free: 5.297 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/1.964, allocations: 13.48 kB / 1.761 GB, free: 5.285 MB / 1.073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.964, allocations: 134.5 kB / 1.761 GB, free: 5.152 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/1.964, allocations: 15.86 kB / 1.761 GB, free: 5.137 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/1.964, allocations: 159.7 kB / 1.762 GB, free: 5.004 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.964, allocations: 4 kB / 1.762 GB, free: 5 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.964, allocations: 4 kB / 1.762 GB, free: 4.996 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.964, allocations: 7.984 kB / 1.762 GB, free: 4.988 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/1.964, allocations: 211.8 kB / 1.762 GB, free: 4.75 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.964, allocations: 0 / 1.762 GB, free: 4.75 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.965, allocations: 34.03 kB / 1.762 GB, free: 4.719 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.965, allocations: 3.984 kB / 1.762 GB, free: 4.715 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/1.965, allocations: 9.391 kB / 1.762 GB, free: 4.707 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.965, allocations: 0 / 1.762 GB, free: 4.707 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.965, allocations: 0 / 1.762 GB, free: 4.707 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/1.965, allocations: 221.8 kB / 1.762 GB, free: 4.496 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.965, allocations: 125.6 kB / 1.762 GB, free: 4.367 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/1.965, allocations: 1.625 kB / 1.762 GB, free: 4.367 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.965, allocations: 25.38 kB / 1.762 GB, free: 4.344 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/1.965, allocations: 13.41 kB / 1.762 GB, free: 4.332 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/1.965, allocations: 13.48 kB / 1.762 GB, free: 4.32 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0001001/1.965, allocations: 114.7 kB / 1.762 GB, free: 4.219 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.965, allocations: 8 kB / 1.762 GB, free: 4.211 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.000513/1.966, allocations: 83 kB / 1.762 GB, free: 4.141 MB / 1.073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/1.966, allocations: 232.3 kB / 1.763 GB, free: 3.914 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0002454/1.967, allocations: 119.3 kB / 1.763 GB, free: 3.812 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.967, allocations: 0 / 1.763 GB, free: 3.812 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/1.967, allocations: 49.5 kB / 1.763 GB, free: 3.773 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.967, allocations: 47.64 kB / 1.763 GB, free: 3.738 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/1.968, allocations: 426.3 kB / 1.763 GB, free: 3.305 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.968, allocations: 0.7172 MB / 1.764 GB, free: 2.555 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002117/1.968, allocations: 53.67 kB / 1.764 GB, free: 2.504 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/1.968, allocations: 23.25 kB / 1.764 GB, free: 2.484 MB / 1.073 GB Notification: Performance of SimCode: time 8.21e-07/1.968, allocations: 4 kB / 1.764 GB, free: 2.48 MB / 1.073 GB Notification: Performance of Templates: time 0.009726/1.978, allocations: 4.178 MB / 1.768 GB, free: 14.35 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches