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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007331/0.007331, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001696/0.001696, allocations: 195.4 kB / 16.79 MB, free: 5.809 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6128, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002066/0.6149, allocations: 1.333 MB / 0.9509 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.6161, allocations: 0.8718 MB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.6161, allocations: 1.438 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.6161, allocations: 0 / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.6162, allocations: 9.172 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.6166, allocations: 128 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.6167, allocations: 44.08 kB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.6167, allocations: 6.078 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.6168, allocations: 8.562 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.6168, allocations: 27.77 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.6168, allocations: 11 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.6172, allocations: 197.1 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.6173, allocations: 5.234 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.6173, allocations: 14.25 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.6175, allocations: 103.5 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6175, allocations: 1.375 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6175, allocations: 0 / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.6175, allocations: 0 / 0.9523 GB, free: 7.172 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.0003902/0.6179, allocations: 373.4 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.618, allocations: 8.25 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.618, allocations: 7.594 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.6181, allocations: 173.6 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.6181, allocations: 7.125 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6181, allocations: 1.75 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.6183, allocations: 75.42 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.6183, allocations: 4.188 kB / 0.9529 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.6183, allocations: 5.312 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.6183, allocations: 5.312 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.6184, allocations: 22.64 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.6206, allocations: 2.102 MB / 0.955 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.6207, allocations: 166.5 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.6207, allocations: 80.14 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.6207, allocations: 80.75 kB / 0.9553 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.6208, allocations: 109.8 kB / 0.9554 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.6208, allocations: 0 / 0.9554 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.181e-05/0.6209, allocations: 36.42 kB / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.6209, allocations: 127.9 kB / 0.9555 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.621, allocations: 139.3 kB / 0.9557 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.621, allocations: 25.7 kB / 0.9557 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.6211, allocations: 106.8 kB / 0.9558 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.6211, allocations: 0 / 0.9558 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.6211, allocations: 25.34 kB / 0.9558 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.6212, allocations: 320.4 kB / 0.9561 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.6212, allocations: 5.219 kB / 0.9561 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.6212, allocations: 38.92 kB / 0.9562 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.6213, allocations: 41.19 kB / 0.9562 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6213, allocations: 1.438 kB / 0.9562 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001681/0.6215, allocations: 66.47 kB / 0.9563 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6215, allocations: 6.469 kB / 0.9563 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6215, allocations: 0 / 0.9563 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6215, allocations: 2.344 kB / 0.9563 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.6216, allocations: 13.58 kB / 0.9563 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6216, allocations: 5.281 kB / 0.9563 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.6217, allocations: 10.69 kB / 0.9563 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.6217, allocations: 6.688 kB / 0.9563 GB, free: 2.781 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.771e-05/0.6218, allocations: 190.3 kB / 0.9565 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.6218, allocations: 111.7 kB / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.6219, allocations: 109.8 kB / 0.9567 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.6219, allocations: 185.7 kB / 0.9569 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/0.6219, allocations: 178 kB / 0.9571 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.6219, allocations: 188.2 kB / 0.9572 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.6221, allocations: 415 kB / 0.9576 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.6221, allocations: 106.2 kB / 0.9577 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.6221, allocations: 106.2 kB / 0.9578 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.6222, allocations: 180.3 kB / 0.958 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.6222, allocations: 181.5 kB / 0.9582 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/0.6222, allocations: 181.5 kB / 0.9583 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.621e-05/0.6222, allocations: 181.6 kB / 0.9585 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.6223, allocations: 311.5 kB / 0.9588 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.6224, allocations: 192.9 kB / 0.959 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.6225, allocations: 177.5 kB / 0.9592 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.6226, allocations: 110.4 kB / 0.9593 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.6227, allocations: 180.2 kB / 0.9594 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.6227, allocations: 102.2 kB / 0.9595 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.6228, allocations: 114.1 kB / 0.9597 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6228, allocations: 0 / 0.9597 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003156/0.6231, allocations: 54.14 kB / 0.9597 GB, free: 15.16 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.0003067/0.6235, allocations: 239.7 kB / 0.9599 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.6236, allocations: 23.8 kB / 0.96 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6236, allocations: 1.062 kB / 0.96 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.6236, allocations: 3.938 kB / 0.96 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.6241, allocations: 0.5237 MB / 0.9605 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.6244, allocations: 258 kB / 0.9607 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.6247, allocations: 0.6797 MB / 0.9614 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.6247, allocations: 9.969 kB / 0.9614 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.6247, allocations: 1.438 kB / 0.9614 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.003134/0.6278, allocations: 1.431 MB / 0.9628 GB, free: 12.74 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/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