Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00599/0.00599, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00136/0.00136, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3166, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT): time 0.002632/0.3193, allocations: 1.258 MB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3207, allocations: 0.8228 MB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.3208, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3208, allocations: 3.938 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.3209, allocations: 7.938 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.3215, allocations: 163.4 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.3216, allocations: 39.84 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3216, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.3217, allocations: 27.91 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.3218, allocations: 19.92 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3218, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.3223, allocations: 211.8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.3223, allocations: 11.92 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.3224, allocations: 23.92 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3226, allocations: 135.6 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3226, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3227, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3227, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 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.0004629/0.3231, allocations: 386.9 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3232, allocations: 12.03 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3232, allocations: 4.938 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3233, allocations: 168.3 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3234, allocations: 4.375 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3234, allocations: 4.375 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3236, allocations: 81.59 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3236, allocations: 192 / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3236, allocations: 3.938 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3236, allocations: 4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.3237, allocations: 27.92 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.3263, allocations: 2.091 MB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.3264, allocations: 185.1 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3264, allocations: 84.08 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.3265, allocations: 75.28 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.3265, allocations: 105.8 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.3265, allocations: 0 / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.173e-05/0.3266, allocations: 37.62 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3267, allocations: 130.7 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3268, allocations: 133.7 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3268, allocations: 25.7 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.3269, allocations: 104 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.3269, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.327, allocations: 29.66 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3271, allocations: 318.8 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.3271, allocations: 8 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.3271, allocations: 39.42 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.152e-05/0.3272, allocations: 35.38 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3272, allocations: 3.938 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000182/0.3274, allocations: 73.61 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3274, allocations: 4 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3274, allocations: 0 / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3275, allocations: 4 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.3275, allocations: 11.94 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3276, allocations: 0 / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.3276, allocations: 15.89 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.3276, allocations: 11.92 kB / 1.173 GB, free: 15.38 MB / 0.9356 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 8.293e-05/0.3277, allocations: 185.2 kB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.3278, allocations: 108.9 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.3279, allocations: 108.5 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.148e-05/0.3279, allocations: 184.2 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/0.328, allocations: 180.2 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.3281, allocations: 176.3 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3283, allocations: 425.2 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/0.3283, allocations: 105 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.3284, allocations: 109.1 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.257e-05/0.3285, allocations: 180.2 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.3285, allocations: 184.3 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-05/0.3286, allocations: 184.2 kB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.274e-05/0.3287, allocations: 180.2 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.3288, allocations: 311.7 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.3289, allocations: 186.1 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.329, allocations: 180.2 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.3291, allocations: 109 kB / 1.176 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.3292, allocations: 184.2 kB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.3292, allocations: 108.9 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.3293, allocations: 107.2 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3293, allocations: 0 / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003041/0.3296, allocations: 51.81 kB / 1.177 GB, free: 11.68 MB / 0.9356 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.0002977/0.3299, allocations: 246.2 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.117e-05/0.33, allocations: 27.92 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.33, allocations: 0 / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.33, allocations: 0 / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3304, allocations: 459.9 kB / 1.177 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.3307, allocations: 206.3 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.331, allocations: 0.6768 MB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.331, allocations: 11.98 kB / 1.178 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.3311, allocations: 11.44 kB / 1.178 GB, free: 10 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3311, allocations: 0 / 1.178 GB, free: 10 MB / 0.9356 GB Notification: Performance of Templates: time 0.003854/0.3349, allocations: 1.437 MB / 1.18 GB, free: 8.566 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Refrigerants_Validation_R410A_dSpecificVolumeVap_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches