Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dvdp|dvdp_num|dvdT|dvdT_num",fileNamePrefix="Buildings_10_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_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 105.2 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.001586/0.001586, allocations: 193.1 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.406/1.406, 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 10.1.0-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 57 kB / 0.8707 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3356, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.00258/0.3382, allocations: 1.27 MB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3395, allocations: 0.8124 MB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.3395, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.3396, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.3396, allocations: 19.84 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.3401, allocations: 155.5 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.3402, allocations: 39.8 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.3402, allocations: 3.984 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.3403, allocations: 19.94 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3404, allocations: 31.83 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3404, allocations: 0 / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.3408, allocations: 207.8 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3408, allocations: 7.938 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.3408, allocations: 19.92 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.3411, allocations: 135.7 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3411, allocations: 3.938 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3411, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3411, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 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.0003994/0.3415, allocations: 379.2 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3415, allocations: 16.03 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.3416, allocations: 0.9375 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3417, allocations: 180.3 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.3417, allocations: 384 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3417, allocations: 4.375 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3419, allocations: 77.61 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.3419, allocations: 192 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3419, allocations: 7.938 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3419, allocations: 4 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.342, allocations: 27.92 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.3446, allocations: 2.083 MB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.3447, allocations: 177.1 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.3447, allocations: 80.14 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.3448, allocations: 75.28 kB / 1.024 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.3448, allocations: 109.8 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3448, allocations: 4 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.531e-05/0.3449, allocations: 33.61 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.345, allocations: 126.7 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3451, allocations: 133.8 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.3451, allocations: 25.7 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.3452, allocations: 111.8 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.3452, allocations: 0 / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.3453, allocations: 21.72 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3454, allocations: 322.8 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.3454, allocations: 12 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.3454, allocations: 35.42 kB / 1.025 GB, free: 2.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.3455, allocations: 39.38 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3455, allocations: 0 / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001544/0.3457, allocations: 69.53 kB / 1.025 GB, free: 2.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3457, allocations: 4 kB / 1.025 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3457, allocations: 0 / 1.025 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3457, allocations: 4 kB / 1.025 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.3458, allocations: 15.92 kB / 1.025 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3458, allocations: 0 / 1.025 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.3459, allocations: 16 kB / 1.025 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3459, allocations: 11.94 kB / 1.025 GB, free: 2.43 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.346, allocations: 181.1 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.3461, allocations: 112.9 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.559e-05/0.3462, allocations: 112.5 kB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.894e-05/0.3462, allocations: 184.2 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-05/0.3463, allocations: 188.2 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.3464, allocations: 176.3 kB / 1.026 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.3466, allocations: 417.3 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/0.3467, allocations: 108.9 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.3467, allocations: 101 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/0.3468, allocations: 188.2 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.3469, allocations: 184.4 kB / 1.027 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.566e-05/0.3469, allocations: 184.2 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.971e-05/0.347, allocations: 180.2 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3472, allocations: 311.7 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.3473, allocations: 186.1 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.3474, allocations: 180.2 kB / 1.028 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.3475, allocations: 108.9 kB / 1.028 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.3475, allocations: 180.3 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3476, allocations: 104.9 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.885e-05/0.3477, allocations: 111.6 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3477, allocations: 4 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003112/0.348, allocations: 59.83 kB / 1.029 GB, free: 14.72 MB / 0.8106 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 (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.000304/0.3483, allocations: 234.4 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.3484, allocations: 23.94 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3484, allocations: 4.25 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/0.3484, allocations: 4 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3489, allocations: 459.7 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3492, allocations: 198.6 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3494, allocations: 0.6807 MB / 1.03 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.3495, allocations: 11.92 kB / 1.03 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.3495, allocations: 11.44 kB / 1.03 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3495, allocations: 0 / 1.03 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.003949/0.3535, allocations: 1.433 MB / 1.032 GB, free: 11.62 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches