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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.005/2.005, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001117/0.001117, allocations: 185.5 kB / 490.8 MB, free: 1.895 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: 221.4 MB / 0.7863 GB, free: 13.61 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.001009/0.001009, allocations: 91.64 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.676e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7916/1.078, allocations: 150.5 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/1.079, allocations: 70.53 kB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009197/1.088, allocations: 2.58 MB / 1.361 GB, free: 17.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.088, allocations: 1.125 kB / 1.361 GB, free: 17.02 MB / 0.823 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.0004758/1.088, allocations: 368.1 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.088, allocations: 9.719 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/1.088, allocations: 6.281 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.089, allocations: 166.4 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/1.089, allocations: 5.125 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/1.089, allocations: 3.156 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001154/1.089, allocations: 19.17 kB / 1.362 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.089, allocations: 72.38 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.089, allocations: 0 / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.089, allocations: 5 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/1.089, allocations: 1.094 kB / 1.362 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/1.091, allocations: 2.067 MB / 1.364 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/1.091, allocations: 168.4 kB / 1.364 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/1.092, allocations: 84.08 kB / 1.364 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.092, allocations: 79.27 kB / 1.364 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/1.092, allocations: 119.1 kB / 1.364 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.092, allocations: 0 / 1.364 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.726e-05/1.092, allocations: 31.7 kB / 1.364 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/1.092, allocations: 53 kB / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.092, allocations: 120.9 kB / 1.364 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/1.092, allocations: 29.39 kB / 1.364 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/1.092, allocations: 98.75 kB / 1.365 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/1.092, allocations: 3.562 kB / 1.365 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/1.092, allocations: 1.312 kB / 1.365 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.092, allocations: 316.3 kB / 1.365 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/1.092, allocations: 4.875 kB / 1.365 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/1.092, allocations: 39.95 kB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/1.093, allocations: 72 kB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.093, allocations: 1.5 kB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006455/1.093, allocations: 131.7 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.093, allocations: 4.781 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.093, allocations: 1.344 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.093, allocations: 1.406 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/1.093, allocations: 11.78 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.093, allocations: 1.125 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/1.094, allocations: 5.969 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/1.094, allocations: 7.656 kB / 1.365 GB, free: 29.04 MB / 0.8386 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 () * 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 8.446e-05/1.094, allocations: 186.5 kB / 1.365 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/1.094, allocations: 103.1 kB / 1.365 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/1.094, allocations: 120.3 kB / 1.365 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.861e-05/1.094, allocations: 181.4 kB / 1.366 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-05/1.094, allocations: 178.2 kB / 1.366 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-05/1.094, allocations: 181.4 kB / 1.366 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/1.094, allocations: 398.2 kB / 1.366 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/1.094, allocations: 101 kB / 1.366 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/1.094, allocations: 103.6 kB / 1.367 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.762e-05/1.094, allocations: 185.3 kB / 1.367 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/1.094, allocations: 178.9 kB / 1.367 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.409e-05/1.094, allocations: 180.3 kB / 1.367 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-05/1.094, allocations: 182.5 kB / 1.367 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001091/1.095, allocations: 308.9 kB / 1.368 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/1.095, allocations: 190.4 kB / 1.368 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/1.095, allocations: 184.7 kB / 1.368 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/1.095, allocations: 102.3 kB / 1.368 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/1.095, allocations: 182.8 kB / 1.368 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/1.095, allocations: 101 kB / 1.368 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001233/1.095, allocations: 106 kB / 1.368 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003515/1.095, allocations: 56.12 kB / 1.368 GB, free: 25.54 MB / 0.8386 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 () * 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.0003406/1.096, allocations: 250.6 kB / 1.369 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/1.096, allocations: 21.27 kB / 1.369 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.096, allocations: 4.25 kB / 1.369 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/1.096, allocations: 1.375 kB / 1.369 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/1.096, allocations: 0.5261 MB / 1.369 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/1.096, allocations: 135.5 kB / 1.369 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/1.097, allocations: 0.7008 MB / 1.37 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.097, allocations: 1.438 kB / 1.37 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.004282/1.101, allocations: 1.426 MB / 1.371 GB, free: 23.82 MB / 0.8386 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