Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_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.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") translateModel(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001084/0.001084, allocations: 183.8 kB / 0.4902 GB, free: 2.25 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.592/1.592, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001014/0.001014, allocations: 102.7 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 6.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.5529, allocations: 151.3 MB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5533, allocations: 67.97 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009137/0.5624, allocations: 2.875 MB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5624, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.5625, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000517/0.563, allocations: 371.1 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.563, allocations: 12.56 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.5631, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.5633, allocations: 175 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5633, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5633, allocations: 8 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5635, allocations: 73.11 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.5635, allocations: 3.938 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5636, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5636, allocations: 7.984 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.5637, allocations: 23.92 kB / 1.381 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.567, allocations: 2.099 MB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.5671, allocations: 169.1 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.5672, allocations: 75.28 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.293e-05/0.5672, allocations: 121.7 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.5673, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.351e-05/0.5674, allocations: 29.61 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.5674, allocations: 126.7 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.5676, allocations: 125 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.5676, allocations: 25.7 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.5677, allocations: 103.8 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-06/0.5677, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5677, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5679, allocations: 326.8 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.529e-05/0.5679, allocations: 4 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.568, allocations: 39.36 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.568, allocations: 8 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.568, allocations: 0 / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001731/0.5682, allocations: 69.62 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5682, allocations: 4 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5682, allocations: 4 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5682, allocations: 3.953 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.5683, allocations: 11.98 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5684, allocations: 7.938 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.5684, allocations: 3.906 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.5684, allocations: 4 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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.0001075/0.5685, allocations: 193.2 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.5686, allocations: 105 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.5687, allocations: 120.2 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/0.5688, allocations: 180.2 kB / 1.384 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.195e-05/0.5688, allocations: 188.1 kB / 1.385 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/0.5689, allocations: 184.3 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5691, allocations: 409.2 kB / 1.385 GB, free: 9.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-05/0.5692, allocations: 109 kB / 1.385 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.5692, allocations: 101 kB / 1.385 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.209e-05/0.5693, allocations: 188.2 kB / 1.385 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.5694, allocations: 176.3 kB / 1.386 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.434e-05/0.5694, allocations: 184.3 kB / 1.386 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-05/0.5695, allocations: 184.2 kB / 1.386 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5697, allocations: 311.7 kB / 1.386 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.5697, allocations: 186.1 kB / 1.386 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.5698, allocations: 184.3 kB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.5699, allocations: 108.9 kB / 1.387 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.57, allocations: 176.3 kB / 1.387 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.57, allocations: 112.9 kB / 1.387 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.967e-05/0.5701, allocations: 103.7 kB / 1.387 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5701, allocations: 3.938 kB / 1.387 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003479/0.5705, allocations: 59.86 kB / 1.387 GB, free: 7.098 MB / 0.8855 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0003755/0.5709, allocations: 247.2 kB / 1.387 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.429e-05/0.571, allocations: 16.28 kB / 1.387 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.571, allocations: 0 / 1.387 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.571, allocations: 0 / 1.387 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.5714, allocations: 0.5308 MB / 1.388 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.5717, allocations: 245.6 kB / 1.388 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.5719, allocations: 0.6887 MB / 1.389 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.572, allocations: 7.984 kB / 1.389 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.572, allocations: 11.44 kB / 1.389 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.572, allocations: 0 / 1.389 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of Templates: time 0.003822/0.5758, allocations: 1.231 MB / 1.39 GB, free: 4.062 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","../files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches