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.007129/0.007128, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001587/0.001587, allocations: 190.8 kB / 16.67 MB, free: 5.961 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 69.81 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.00235/0.2876, allocations: 1.281 MB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2889, allocations: 0.8087 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.2889, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.289, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.289, allocations: 15.84 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.2895, allocations: 151.5 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.2896, allocations: 47.78 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.2897, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.2897, allocations: 19.92 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.2898, allocations: 23.91 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2898, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.2902, allocations: 207.8 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2903, allocations: 12 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.2903, allocations: 19.86 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2906, allocations: 135.7 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2906, allocations: 3.938 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2906, allocations: 0 / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2906, allocations: 0 / 1.091 GB, free: 14.88 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.0005082/0.2911, allocations: 371.3 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2911, allocations: 11.97 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.2912, allocations: 8.938 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2913, allocations: 172.3 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2913, allocations: 384 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2914, allocations: 4.375 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.2915, allocations: 77.66 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2915, allocations: 4.125 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2915, allocations: 7.938 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2916, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.2917, allocations: 39.84 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.2943, allocations: 2.087 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.2944, allocations: 173.1 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.2945, allocations: 84.14 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2945, allocations: 75.28 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2946, allocations: 105.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2946, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.904e-05/0.2946, allocations: 29.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2947, allocations: 130.7 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2948, allocations: 133.8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2948, allocations: 29.7 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.2949, allocations: 99.84 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.2949, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.295, allocations: 21.66 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2951, allocations: 322.8 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.2951, allocations: 12 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.2951, allocations: 31.42 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.2952, allocations: 39.38 kB / 1.094 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2952, allocations: 8 kB / 1.094 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001554/0.2954, allocations: 65.53 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2954, allocations: 4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2954, allocations: 4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2954, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.2955, allocations: 11.98 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.2955, allocations: 7.938 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.2956, allocations: 3.938 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2956, allocations: 11.94 kB / 1.095 GB, free: 10.16 MB / 0.8575 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 9.901e-05/0.2957, allocations: 189.2 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.2958, allocations: 108.9 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.2959, allocations: 120.4 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/0.2959, allocations: 176.3 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.983e-05/0.296, allocations: 176.3 kB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.2961, allocations: 188.2 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2963, allocations: 425.3 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/0.2964, allocations: 108.9 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2964, allocations: 109 kB / 1.096 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-05/0.2965, allocations: 184.3 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2965, allocations: 180.2 kB / 1.096 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.245e-05/0.2966, allocations: 180.3 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-05/0.2967, allocations: 180.2 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2968, allocations: 315.7 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.2969, allocations: 186 kB / 1.097 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.297, allocations: 180.3 kB / 1.097 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2971, allocations: 108.9 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.2972, allocations: 180.3 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.2972, allocations: 104.9 kB / 1.098 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.2973, allocations: 107.2 kB / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2973, allocations: 0 / 1.098 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000298/0.2976, allocations: 55.92 kB / 1.098 GB, free: 6.445 MB / 0.8575 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.0002889/0.2979, allocations: 244.4 kB / 1.098 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.516e-05/0.298, allocations: 19.98 kB / 1.098 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.298, allocations: 0 / 1.098 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.298, allocations: 4.188 kB / 1.098 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.2985, allocations: 459.7 kB / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.2988, allocations: 198.6 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.299, allocations: 0.6807 MB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.2991, allocations: 8 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.2991, allocations: 7.438 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2991, allocations: 3.938 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of Templates: time 0.003897/0.303, allocations: 1.447 MB / 1.101 GB, free: 3.34 MB / 0.8575 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