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.001158/0.001158, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.34 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.368/2.368, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6921, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.001187/0.6933, allocations: 0.9935 MB / 0.9567 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.6945, allocations: 0.8536 MB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.6946, allocations: 1.031 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.6946, allocations: 3.938 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.6946, allocations: 9.281 kB / 0.9575 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.6951, allocations: 127 kB / 0.9576 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.6951, allocations: 40.52 kB / 0.9577 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.6952, allocations: 6.125 kB / 0.9577 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.6952, allocations: 25.78 kB / 0.9577 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.6953, allocations: 19.45 kB / 0.9577 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.6953, allocations: 2.406 kB / 0.9577 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.6957, allocations: 192.7 kB / 0.9579 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.6957, allocations: 14.02 kB / 0.9579 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.6958, allocations: 39.89 kB / 0.958 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.6959, allocations: 99.81 kB / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6959, allocations: 0 / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.696, allocations: 0 / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.696, allocations: 5.344 kB / 0.9581 GB, free: 5.883 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.0003471/0.6963, allocations: 369.3 kB / 0.9584 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6964, allocations: 9.344 kB / 0.9584 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.6964, allocations: 7.156 kB / 0.9584 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.632e-05/0.6965, allocations: 165.5 kB / 0.9586 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.6965, allocations: 2.906 kB / 0.9586 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.6965, allocations: 6.594 kB / 0.9586 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.6967, allocations: 79.17 kB / 0.9587 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.6967, allocations: 4.172 kB / 0.9587 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6967, allocations: 7.938 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6967, allocations: 1.375 kB / 0.9587 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.6968, allocations: 28.06 kB / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.6989, allocations: 2.095 MB / 0.9608 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.699, allocations: 174.5 kB / 0.9609 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.699, allocations: 80.14 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.699, allocations: 79.28 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.6991, allocations: 111.3 kB / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.6991, allocations: 0 / 0.9612 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.024e-05/0.6991, allocations: 28.64 kB / 0.9612 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.6992, allocations: 130.6 kB / 0.9613 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6993, allocations: 139.5 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.6993, allocations: 29.7 kB / 0.9615 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.6993, allocations: 99.42 kB / 0.9616 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.6993, allocations: 0 / 0.9616 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.6994, allocations: 15.5 kB / 0.9616 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.6994, allocations: 320.6 kB / 0.9619 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.6995, allocations: 9.375 kB / 0.9619 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.6995, allocations: 30.58 kB / 0.9619 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.6996, allocations: 42.12 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6996, allocations: 3.938 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001552/0.6997, allocations: 68.16 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6997, allocations: 4.906 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6998, allocations: 5.562 kB / 0.9621 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.6998, allocations: 5.516 kB / 0.9621 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.6999, allocations: 12.34 kB / 0.9621 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.6999, allocations: 2.75 kB / 0.9621 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.981e-05/0.6999, allocations: 1.375 kB / 0.9621 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.7, allocations: 6.812 kB / 0.9621 GB, free: 1.508 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.751e-05/0.7, allocations: 187.9 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.7001, allocations: 115.6 kB / 0.9624 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.7001, allocations: 117.6 kB / 0.9625 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.7001, allocations: 181.6 kB / 0.9627 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/0.7002, allocations: 181.6 kB / 0.9628 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.7002, allocations: 180.2 kB / 0.963 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.7003, allocations: 412 kB / 0.9634 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/0.7004, allocations: 113 kB / 0.9635 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.7004, allocations: 106.3 kB / 0.9636 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.7005, allocations: 185.6 kB / 0.9638 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.7006, allocations: 176.3 kB / 0.964 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-05/0.7006, allocations: 177.6 kB / 0.9641 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.604e-05/0.7007, allocations: 181.6 kB / 0.9643 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.7008, allocations: 315.8 kB / 0.9646 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.7009, allocations: 188.7 kB / 0.9648 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.701, allocations: 177.6 kB / 0.965 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.7011, allocations: 110.3 kB / 0.9651 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.7012, allocations: 184.2 kB / 0.9652 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.7012, allocations: 110.3 kB / 0.9653 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.7013, allocations: 110.7 kB / 0.9654 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7013, allocations: 0 / 0.9654 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003376/0.7017, allocations: 54.44 kB / 0.9655 GB, free: 13.88 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.0003335/0.702, allocations: 242.6 kB / 0.9657 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.7021, allocations: 20.3 kB / 0.9657 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.7021, allocations: 4 kB / 0.9658 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.7021, allocations: 1.375 kB / 0.9658 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.7026, allocations: 0.5215 MB / 0.9663 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.703, allocations: 256.4 kB / 0.9665 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7032, allocations: 0.6785 MB / 0.9672 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.7032, allocations: 11.56 kB / 0.9672 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7033, allocations: 4 kB / 0.9672 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.003307/0.7066, allocations: 1.421 MB / 0.9686 GB, free: 11.46 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