Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001264/0.001264, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.0013/0.0013, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8513, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.0022/0.8536, allocations: 1.277 MB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.8548, allocations: 0.8129 MB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.8549, allocations: 0.75 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.8549, allocations: 4.453 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.855, allocations: 5.531 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.8556, allocations: 156.9 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.8556, allocations: 46.08 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.8557, allocations: 3.422 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.8557, allocations: 20.36 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.8558, allocations: 21.94 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.8558, allocations: 1.812 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.8563, allocations: 210.2 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.8563, allocations: 9.062 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.8563, allocations: 19.56 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.8566, allocations: 131.8 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8566, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8566, allocations: 4 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.8566, allocations: 0.75 kB / 1.091 GB, free: 3.832 MB / 0.8575 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.0004105/0.857, allocations: 379 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.8571, allocations: 10.02 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.8571, allocations: 3.094 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.8572, allocations: 171.8 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.8572, allocations: 1.531 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.8572, allocations: 2.562 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.8574, allocations: 92.2 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8574, allocations: 192 / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8574, allocations: 4.906 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8574, allocations: 1 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.8575, allocations: 28.05 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.8597, allocations: 2.105 MB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/0.8597, allocations: 165.9 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.8598, allocations: 81.05 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.8598, allocations: 79.28 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.8599, allocations: 107.8 kB / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.8599, allocations: 0 / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.639e-05/0.8599, allocations: 32.5 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.86, allocations: 128 kB / 1.095 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.8601, allocations: 137.5 kB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.8602, allocations: 31.19 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.8602, allocations: 105.5 kB / 1.095 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.8602, allocations: 0.75 kB / 1.095 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.8603, allocations: 22.78 kB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.8604, allocations: 322 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.8604, allocations: 6.984 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.8604, allocations: 33.39 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.8605, allocations: 42.78 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8605, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.8607, allocations: 68.92 kB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8607, allocations: 9.406 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8607, allocations: 6.031 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8607, allocations: 1.562 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.8608, allocations: 19.36 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8608, allocations: 0.8125 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.8609, allocations: 3.172 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.8609, allocations: 7.688 kB / 1.095 GB, free: 15.58 MB / 0.8731 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.533e-05/0.861, allocations: 184 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.8611, allocations: 115.8 kB / 1.096 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.8611, allocations: 116.5 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/0.8612, allocations: 177.8 kB / 1.096 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.158e-05/0.8612, allocations: 181.8 kB / 1.096 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/0.8613, allocations: 177.9 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.8615, allocations: 421.3 kB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/0.8615, allocations: 107.4 kB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.8616, allocations: 106.6 kB / 1.097 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/0.8616, allocations: 181.7 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.8617, allocations: 182.4 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.8618, allocations: 189.7 kB / 1.097 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.001e-05/0.8618, allocations: 177.6 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.8619, allocations: 314.9 kB / 1.098 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.862, allocations: 190.5 kB / 1.098 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.8621, allocations: 182.2 kB / 1.098 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.8622, allocations: 102.6 kB / 1.098 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.8623, allocations: 186 kB / 1.098 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.8623, allocations: 102.9 kB / 1.099 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.303e-05/0.8624, allocations: 107.5 kB / 1.099 GB, free: 12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8624, allocations: 0 / 1.099 GB, free: 12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003356/0.8627, allocations: 56.66 kB / 1.099 GB, free: 11.98 MB / 0.8731 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.0003029/0.863, allocations: 242.5 kB / 1.099 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.8631, allocations: 22.94 kB / 1.099 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8631, allocations: 0 / 1.099 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.8631, allocations: 0.6094 kB / 1.099 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.8636, allocations: 464.8 kB / 1.099 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.8639, allocations: 233.4 kB / 1.1 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.8641, allocations: 0.6792 MB / 1.1 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.8641, allocations: 11.83 kB / 1.1 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8641, allocations: 0 / 1.1 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.003875/0.868, allocations: 1.433 MB / 1.102 GB, free: 10.27 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches