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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007809/0.000781, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005537/0.005537, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004378, allocations: 10.47 kB / 0.9027 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001442/0.3253, allocations: 0.986 MB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3268, allocations: 0.861 MB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.3268, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.3269, allocations: 3.938 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.3269, allocations: 11.97 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.3275, allocations: 123.6 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.3276, allocations: 47.78 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.3276, allocations: 4 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.3277, allocations: 11.98 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.3277, allocations: 27.84 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3278, allocations: 4 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.3283, allocations: 195.7 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.3283, allocations: 12 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.3284, allocations: 45.56 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.3287, allocations: 128 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.3287, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3287, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3287, allocations: 0 / 1.061 GB, free: 2.527 MB / 0.8106 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.0005013/0.3292, allocations: 376.7 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.3293, allocations: 11.97 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.3293, allocations: 12.78 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3295, allocations: 168.4 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3295, allocations: 4.375 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3295, allocations: 4.375 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3297, allocations: 81.59 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3297, allocations: 192 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3297, allocations: 7.938 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3297, allocations: 3.984 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.398e-05/0.3298, allocations: 31.92 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.3326, allocations: 2.087 MB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.3327, allocations: 173.1 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.3327, allocations: 80.14 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3328, allocations: 79.22 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.3328, allocations: 113.8 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3328, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.535e-05/0.3329, allocations: 33.61 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.333, allocations: 130.6 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3331, allocations: 137.7 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3331, allocations: 25.7 kB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.3332, allocations: 107.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.3332, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3332, allocations: 9.719 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3333, allocations: 322.8 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.3334, allocations: 11.98 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.3334, allocations: 35.44 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.3335, allocations: 43.39 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3335, allocations: 4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001639/0.3337, allocations: 65.62 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3337, allocations: 4 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3337, allocations: 4 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3337, allocations: 0 / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.3338, allocations: 11.94 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3338, allocations: 7.984 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.3339, allocations: 11.84 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3339, allocations: 7.938 kB / 1.065 GB, free: 13.79 MB / 0.8262 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 8.599e-05/0.334, allocations: 189.2 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.3341, allocations: 101 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.3341, allocations: 120.4 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.3342, allocations: 176.3 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.744e-05/0.3342, allocations: 180.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/0.3343, allocations: 180.3 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.3345, allocations: 417.1 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.3346, allocations: 112.9 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.3346, allocations: 101 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.828e-05/0.3347, allocations: 184.2 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.3348, allocations: 180.2 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-05/0.3348, allocations: 188.2 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.747e-05/0.3349, allocations: 176.3 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.3351, allocations: 315.6 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.3352, allocations: 190.1 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.3352, allocations: 192.2 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.3353, allocations: 101 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.3354, allocations: 176.3 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.3355, allocations: 104.9 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.3355, allocations: 107.2 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3356, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003234/0.3359, allocations: 59.92 kB / 1.068 GB, free: 10.09 MB / 0.8262 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.0003332/0.3362, allocations: 242.4 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.3363, allocations: 19.94 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3363, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3363, allocations: 256 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3368, allocations: 0.5302 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3371, allocations: 225.8 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3373, allocations: 0.6869 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.3374, allocations: 11.89 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3374, allocations: 11.44 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3374, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.003998/0.3414, allocations: 1.417 MB / 1.072 GB, free: 6.891 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches