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.00115/0.00115, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001121/0.001121, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 66.89 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3124, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.003026/0.3154, allocations: 1.27 MB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3169, allocations: 0.8129 MB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.317, allocations: 4 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.317, allocations: 7.938 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.3171, allocations: 7.922 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.3178, allocations: 159.4 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.639e-05/0.3179, allocations: 39.86 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.318, allocations: 3.984 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.318, allocations: 15.94 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.3181, allocations: 31.89 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3182, allocations: 0 / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.3187, allocations: 211.8 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.3187, allocations: 3.938 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3188, allocations: 19.92 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3191, allocations: 139.6 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3191, allocations: 3.938 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3191, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3191, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7325 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.0005586/0.3197, allocations: 376.3 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3197, allocations: 16.03 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3198, allocations: 4.844 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3199, allocations: 164.4 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3199, allocations: 8.312 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.32, allocations: 8.359 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3201, allocations: 73.67 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3201, allocations: 192 / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3202, allocations: 7.938 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3202, allocations: 4 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.3203, allocations: 27.92 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.3233, allocations: 2.091 MB / 0.9565 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.3234, allocations: 169.1 kB / 0.9566 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.3234, allocations: 84.12 kB / 0.9567 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3235, allocations: 75.28 kB / 0.9568 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.3235, allocations: 109.8 kB / 0.9569 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.3235, allocations: 4 kB / 0.9569 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.539e-05/0.3236, allocations: 37.61 kB / 0.9569 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3237, allocations: 126.7 kB / 0.957 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3239, allocations: 133.8 kB / 0.9572 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3239, allocations: 25.7 kB / 0.9572 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.324, allocations: 103.8 kB / 0.9573 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.324, allocations: 3.938 kB / 0.9573 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.324, allocations: 25.7 kB / 0.9573 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3241, allocations: 318.8 kB / 0.9576 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.3242, allocations: 11.98 kB / 0.9576 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.3242, allocations: 31.44 kB / 0.9577 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.3243, allocations: 43.36 kB / 0.9577 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3243, allocations: 0 / 0.9577 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001967/0.3245, allocations: 77.47 kB / 0.9578 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3245, allocations: 4 kB / 0.9578 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3246, allocations: 4 kB / 0.9578 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3246, allocations: 0 / 0.9578 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.3247, allocations: 11.98 kB / 0.9578 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3247, allocations: 4 kB / 0.9578 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.3247, allocations: 8.062 kB / 0.9578 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3248, allocations: 8.062 kB / 0.9578 GB, free: 0.5898 MB / 0.7325 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 0.0001201/0.3249, allocations: 191 kB / 0.958 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.325, allocations: 108.9 kB / 0.9581 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.325, allocations: 120.4 kB / 0.9582 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/0.3252, allocations: 184.3 kB / 0.9584 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/0.3252, allocations: 184.3 kB / 0.9586 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/0.3254, allocations: 180.3 kB / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3256, allocations: 421.2 kB / 0.9591 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/0.3257, allocations: 105 kB / 0.9592 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.3257, allocations: 104.9 kB / 0.9593 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.3258, allocations: 176.3 kB / 0.9595 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.3259, allocations: 188.2 kB / 0.9597 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.286e-05/0.326, allocations: 184.2 kB / 0.9599 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.494e-05/0.326, allocations: 176.3 kB / 0.96 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.3262, allocations: 303.7 kB / 0.9603 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.3263, allocations: 198 kB / 0.9605 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.3264, allocations: 176.3 kB / 0.9607 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3265, allocations: 105 kB / 0.9608 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.3266, allocations: 184.2 kB / 0.961 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/0.3267, allocations: 101 kB / 0.961 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.907e-05/0.3267, allocations: 115 kB / 0.9612 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 4 kB / 0.9612 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003342/0.3271, allocations: 51.92 kB / 0.9612 GB, free: 12.88 MB / 0.7481 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.0003537/0.3275, allocations: 242.4 kB / 0.9614 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3276, allocations: 16.12 kB / 0.9615 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3276, allocations: 4.062 kB / 0.9615 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.3276, allocations: 4 kB / 0.9615 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3282, allocations: 463.7 kB / 0.9619 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.3286, allocations: 210.2 kB / 0.9621 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3289, allocations: 0.6844 MB / 0.9628 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.329, allocations: 4 kB / 0.9628 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.329, allocations: 11.44 kB / 0.9628 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.329, allocations: 0 / 0.9628 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.004641/0.3336, allocations: 1.432 MB / 0.9642 GB, free: 9.77 MB / 0.7481 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 -s cvode -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