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.0009757/0.0009757, allocations: 91.84 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.008008/0.008008, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.362/2.362, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7039/0.7042, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001105/0.7054, allocations: 0.9896 MB / 0.956 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.7066, allocations: 0.8536 MB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.7066, allocations: 0 / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.7066, allocations: 3.938 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.7067, allocations: 5.078 kB / 0.9568 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.7071, allocations: 139.1 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.7072, allocations: 39.78 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.7073, allocations: 3.531 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.7073, allocations: 20.02 kB / 0.957 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.7074, allocations: 20.64 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.7074, allocations: 6.859 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.7078, allocations: 192.1 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.7078, allocations: 10.34 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.7078, allocations: 43.62 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.7081, allocations: 136.2 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7081, allocations: 0 / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7081, allocations: 3.938 kB / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.7081, allocations: 5.375 kB / 0.9574 GB, free: 5.844 MB / 0.7169 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.0003616/0.7085, allocations: 368.3 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7085, allocations: 9.969 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.7085, allocations: 6.75 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.7086, allocations: 174.3 kB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.7087, allocations: 6.344 kB / 0.958 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7087, allocations: 2.344 kB / 0.958 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.7088, allocations: 78.86 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7088, allocations: 2.156 kB / 0.958 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7088, allocations: 3.938 kB / 0.958 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7088, allocations: 2.062 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.7089, allocations: 26.23 kB / 0.9581 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.711, allocations: 2.099 MB / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.7111, allocations: 174.9 kB / 0.9603 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.7111, allocations: 80.14 kB / 0.9604 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.7111, allocations: 77.06 kB / 0.9604 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.7112, allocations: 105.8 kB / 0.9605 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7112, allocations: 0 / 0.9605 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.489e-05/0.7112, allocations: 29.3 kB / 0.9606 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.7113, allocations: 130.7 kB / 0.9607 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.7114, allocations: 134.7 kB / 0.9608 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-06/0.7114, allocations: 34.95 kB / 0.9609 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.7114, allocations: 102.2 kB / 0.961 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.7114, allocations: 1.281 kB / 0.961 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.7115, allocations: 15.06 kB / 0.961 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.7115, allocations: 316.1 kB / 0.9613 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.7115, allocations: 12.94 kB / 0.9613 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.7116, allocations: 38.92 kB / 0.9613 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.7116, allocations: 38.38 kB / 0.9614 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7116, allocations: 0 / 0.9614 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001521/0.7118, allocations: 75.73 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7118, allocations: 5.5 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7118, allocations: 1.375 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7118, allocations: 1.375 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.7119, allocations: 9.625 kB / 0.9614 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7119, allocations: 5.312 kB / 0.9615 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.712, allocations: 5.359 kB / 0.9615 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.712, allocations: 6.688 kB / 0.9615 GB, free: 1.465 MB / 0.7169 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 5.185e-05/0.7121, allocations: 192 kB / 0.9616 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.7121, allocations: 107.6 kB / 0.9618 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.7121, allocations: 117.6 kB / 0.9619 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.7122, allocations: 185.6 kB / 0.962 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-05/0.7122, allocations: 181.6 kB / 0.9622 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.7122, allocations: 176.3 kB / 0.9624 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.7124, allocations: 420 kB / 0.9628 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-05/0.7124, allocations: 109 kB / 0.9629 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.7125, allocations: 106.3 kB / 0.963 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.086e-05/0.7125, allocations: 181.6 kB / 0.9632 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.7126, allocations: 181.6 kB / 0.9633 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-05/0.7127, allocations: 180.3 kB / 0.9635 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.549e-05/0.7127, allocations: 185.6 kB / 0.9637 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.7129, allocations: 307.8 kB / 0.964 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.713, allocations: 188.7 kB / 0.9642 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.7131, allocations: 177.6 kB / 0.9643 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7132, allocations: 114.3 kB / 0.9644 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.7133, allocations: 180.3 kB / 0.9646 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.7133, allocations: 106.3 kB / 0.9647 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.7134, allocations: 110.4 kB / 0.9648 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.104e-06/0.7134, allocations: 0 / 0.9648 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003198/0.7137, allocations: 58.36 kB / 0.9649 GB, free: 13.83 MB / 0.7325 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.0002987/0.714, allocations: 242.4 kB / 0.9651 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.7141, allocations: 16.84 kB / 0.9651 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7141, allocations: 0 / 0.9651 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.7141, allocations: 1.594 kB / 0.9651 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.7146, allocations: 0.5268 MB / 0.9656 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.715, allocations: 226.5 kB / 0.9658 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.7153, allocations: 0.6838 MB / 0.9665 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.7153, allocations: 11 kB / 0.9665 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.7154, allocations: 14.28 kB / 0.9665 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7154, allocations: 0 / 0.9665 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.004327/0.7197, allocations: 1.402 MB / 0.9679 GB, free: 11.44 MB / 0.7325 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/jenkins/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